[issue3633] float.fromhex discrepancy under Solaris
Antoine Pitrou
report at bugs.python.org
Thu Aug 21 23:14:45 CEST 2008
Antoine Pitrou <pitrou at free.fr> added the comment:
Le jeudi 21 août 2008 à 21:12 +0000, Mark Dickinson a écrit :
> 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'.
+1
I don't think it makes a lot of sense to support full width unicode
digits. Hex representation is quite specialized, it won't be produced by
casual users.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3633>
_______________________________________
More information about the Python-bugs-list
mailing list