This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ehuss
Recipients
Date 2003-10-23.18:11:13
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=393416

isprint is useful to make sure there are "safe" characters in a 
string.  In a tty-based application, and you have potentially 
hostile text to display to the user, you want to make sure 
that no terminal control characters are sent.

isgraph is exactly the same as isprint, except it does not 
include the space character.

I do not understand Brett's comment about isxdigit.  I would 
avoid renaming it since the naming convention already follows 
the C functions.  And it is not the same as isalnum and 
isalpha...which is the same as isdigit (which already exists).  
isxdigit tests for a hexadecimal character (0-9 a-f A-F).

I think it would be mildly useful.  I can follow up with a patch 
for documentation and unit tests.  As for Unicode support, 
unforutnately I do not know where to begin to update 
makeunicodedata.py.
History
Date User Action Args
2007-08-23 15:29:33adminlinkissue825313 messages
2007-08-23 15:29:33admincreate