-
-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
bpo-36878: Only allow text after # type: ignore
if first character ASCII
#13504
Conversation
… ASCII This disallows things like `# type: ignoreé`, which seems wrong. Also switch to using Py_ISALNUM for the alnum check, for consistency with other code (and maybe correctness re: locale issues?).
@ilevkivskyi @gvanrossum last one in this sequence, I think! |
Yeah, |
@msullivan: Status check is done, and it's a failure ❌ . |
1 similar comment
@msullivan: Status check is done, and it's a failure ❌ . |
@msullivan: Status check is done, and it's a success ✅ . |
|
Buildbot failure is an infrastructure failure, it looks like: |
This disallows things like
# type: ignoreé
, which seems wrong.Also switch to using Py_ISALNUM for the alnum check, for consistency
with other code (and maybe correctness re: locale issues?).
https://bugs.python.org/issue36878