Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[nit] clarify comment about deprecation warnings about \u - #20026

Merged
hauntsaninja merged 2 commits into
python:masterfrom
wyattscarpenter:patch-9
Oct 9, 2025
Merged

[nit] clarify comment about deprecation warnings about \u#20026
hauntsaninja merged 2 commits into
python:masterfrom
wyattscarpenter:patch-9

Conversation

@wyattscarpenter

@wyattscarpenter wyattscarpenter commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

This is the same as 'invalid escape sequence', just a different type of warning on lower Python versions. Chases #20023. More background information is available in #19606, although that's probably not very helpful all told.

This is the same as 'invalid escape sequence', just a different type of warning on lower Python versions.
Comment thread mypy/fastparse.py Outdated
@github-actions

github-actions Bot commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. βœ…

@cdce8p cdce8p left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @wyattscarpenter πŸ‘πŸ»

@cdce8p cdce8p added the upnext label Oct 8, 2025
@hauntsaninja
hauntsaninja merged commit c928847 into python:master Oct 9, 2025
20 checks passed
@wyattscarpenter
wyattscarpenter deleted the patch-9 branch October 9, 2025 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants