SIGN IN SIGN UP

bpo-36878: Only allow text after `# type: ignore` if first character ASCII (GH-13504)

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
M
Michael J. Sullivan committed
d8a82e2897b735e2b7e9e086f1d709365a2ad72c
Parent: 0c2b6a3
Committed by Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> on 5/22/2019, 8:43:36 PM