-
-
Notifications
You must be signed in to change notification settings - Fork 31.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
Rationalize isdigit / isalpha / tolower / ... uses throughout Python source #50043
Comments
Problem: the standard C character handling functions from ctype.h There are various solutions in the current source:
It would be nice to clean all this up, and have one central, efficient, |
I concur. I've also been bitten by forgetting Py_CHARMASK, so a single In private mail I'd mentioned that if these are functions, they should |
Also, see _toupper/_tolower in Objects/stringlib/stringdef.h and |
I'll implement this by adding a pyctype.h and pyctype.c, mimicking |
Checked in to trunk (rr72040) and py3k (r72044). Windows buildbots look okay, closing. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: