Georg Brandl <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue4221> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com