[issue28927] bytes.fromhex should ignore all whitespace

Terry J. Reedy report at bugs.python.org
Mon Dec 19 13:13:34 EST 2016


Terry J. Reedy added the comment:

I think non-ASCII whitespace and digits are YAGNI until we are convinced otherwise by evidence from the field that people are routinely mixing other decimal digits with 'abcdef' as hex numerals.  Anyone who does try such a thing can write a wrapper that first translates to ascii digits.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28927>
_______________________________________


More information about the Python-bugs-list mailing list