[issue4221] inconsistent exception from int is confusing
Georg Brandl
report at bugs.python.org
Tue Oct 28 18:22:48 CET 2008
Georg Brandl <georg at python.org> added the comment:
Since it is not defined which bytes are used as digits for bases > 36,
\x00 is not a "valid byte".
In any case, the problem here is that the base check is done after the
"no NULL" check. Perhaps the error should explicitly mention that no
null bytes are allowed.
----------
nosy: +georg.brandl
priority: -> low
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4221>
_______________________________________
More information about the Python-bugs-list
mailing list