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 benjamin.peterson, mark.dickinson, pitrou
Date 2008-08-21.21:12:27
SpamBayes Score 1.1728294e-07
Marked as misclassified No
Message-id <1219353149.26.0.688636164101.issue3633@psf.upfronthosting.co.za>
In-reply-to
Content
The problem appears to be that on Solaris, the isxdigit function (which 
is supposed to check whether a character is a valid hex digit) returns 
true for Unicode fullwidth digits.  On other systems I have access to, 
isxdigit just returns true for the ASCII hex digits, and you use the C99 
iswxdigit function if you want to allow other Unicode digits.

One could argue that these fullwidth digits should be permitted, but I 
don't know any quick way to convert a unicode digit to its value.  For 
now, it just seems simplest to replace the isxdigit call with an 
explicit check for the ASCII 7-bit characters '0' through '9', 'a' 
through 'f'.
History
Date User Action Args
2008-08-21 21:12:29mark.dickinsonsetrecipients: + mark.dickinson, pitrou, benjamin.peterson
2008-08-21 21:12:29mark.dickinsonsetmessageid: <1219353149.26.0.688636164101.issue3633@psf.upfronthosting.co.za>
2008-08-21 21:12:27mark.dickinsonlinkissue3633 messages
2008-08-21 21:12:27mark.dickinsoncreate