Message86072
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. |
|
Date |
User |
Action |
Args |
2009-04-17 12:56:50 | mark.dickinson | set | recipients:
+ mark.dickinson, eric.smith |
2009-04-17 12:56:49 | mark.dickinson | set | messageid: <1239973009.7.0.493216977435.issue5780@psf.upfronthosting.co.za> |
2009-04-17 12:56:48 | mark.dickinson | link | issue5780 messages |
2009-04-17 12:56:46 | mark.dickinson | create | |
|