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 mark.dickinson
Recipients eric.smith, mark.dickinson
Date 2009-04-17.12:56:46
SpamBayes Score 2.1712617e-08
Marked as misclassified No
Message-id <1239973009.7.0.493216977435.issue5780@psf.upfronthosting.co.za>
In-reply-to
Content
I seem to recall that despite the C standards, there are platforms around
where isdigit and isxdigit are still locale aware.  This bit me when I 
implemented float.fromhex:  see r65964.

And my man page for isdigit says:

COMPATIBILITY
     The 4.4BSD extension of accepting arguments outside of the range of 
the unsigned char type in locales with large character sets
     is considered obsolete and may not be supported in future releases.  
The iswdigit() function should be used instead.


So I'm tempted to go the other way and say that all uses of isdigit should 
be replaced by ISDIGIT.


I'll fix the Py_CHARMASK and move remove_trailing_zeros inside the ifdef.
History
Date User Action Args
2009-04-17 12:56:50mark.dickinsonsetrecipients: + mark.dickinson, eric.smith
2009-04-17 12:56:49mark.dickinsonsetmessageid: <1239973009.7.0.493216977435.issue5780@psf.upfronthosting.co.za>
2009-04-17 12:56:48mark.dickinsonlinkissue5780 messages
2009-04-17 12:56:46mark.dickinsoncreate