-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix stdlib stubtest for latest Python patch releases #13464
Conversation
|
@@ -21,6 +22,9 @@ NLSET: Final[set[str]] | |||
# Added in Python 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.5 | |||
SPECIALSNL: Final[set[str]] | |||
|
|||
if sys.version_info >= (3, 12): | |||
def make_quoted_pairs(value: Any) -> str: ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just gave this the same signature as quote_string
below, since quote_string
directly calls make_quoted_pairs
now: https://github.com/python/cpython/blob/58a4357e29a15135e6fd99f320c60f8ea0472d27/Lib/email/_header_value_parser.py#L99-L106
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
Just going to merge so the daily test doesn't fail in half an hour, but it anybody has any post-merge review comments I'm happy to tackle them in a followup PR! |
I noticed the daily test was about to fail this evening due to some of the changes in the new patch releases for Python 3.12 and 3.13