Skip to content
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-39279: Don't allow non-Ascii digits in platform.py #17928

Open
wants to merge 1 commit into
base: master
from

Conversation

@cool-RR
Copy link
Contributor

cool-RR commented Jan 9, 2020

The platform.py module takes non-Ascii digits in regexes in places it shouldn't. e.g. digits like ٢ and 5 and accepted, when only the Ascii digits between 0-9 should be accepted.

https://bugs.python.org/issue39279

@cool-RR cool-RR marked this pull request as ready for review Jan 9, 2020
@cool-RR

This comment has been minimized.

Copy link
Contributor Author

cool-RR commented Jan 9, 2020

@ezio-melotti @bitdancer This touches code that you were the last to touch, a few years ago. Care to comment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.