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
Add additional isxxx functions to string object. #39422
Comments
This patch adds the following ctype.h functions to the iscntrl These are pretty standard C functions...I'm not sure It also deletes a lot of duplicated code. This patch might not be 100% useful because it does |
Logged In: YES I like shedding ~80 lines with is_helper, especially if you |
Logged In: YES I don't really see a good use for any of these. Chances that most isxdigit might be slightly helpful if you renamed it isnum, but you But in general I am -1 on these. str has enough methods as it is. |
Logged In: YES The patch is incomplete, as it comes without documentation What is the rationale for including them? |
Logged In: YES isprint is useful to make sure there are "safe" characters in a isgraph is exactly the same as isprint, except it does not I do not understand Brett's comment about isxdigit. I would I think it would be mildly useful. I can follow up with a patch |
Logged In: YES You don't need to understand my comment because I goofed. For I still don't find these that useful. isgraph seems especially For the argument of keeping the names with C, that is not valid. Regardless of all of this I am still -1 on all of the methods. |
Logged In: YES -1 from here. You can have the same using a regular expression There are too few use cases for these methods that it would Brett, feel free to close this request. |
Logged In: YES OK, having MA, Martin, and me say "no" works for me. This patch What you might want to do, though, Eric, is see if you could help |
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: