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 martin.panter
Recipients martin.panter, ncoghlan, nneonneo, serhiy.storchaka, terry.reedy
Date 2016-12-18.11:03:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
As far as I know, non-ASCII newlines and whitespace are not supported in Python source code, so there is not a big need to support it in bytes.fromhex() either. But since bytes.fromhex() accepts Unicode strings, I think non-ASCII whitespace would be okay if it was easy to implement.

Serhiy: Whitespace is not treated specially by the base-64 decoders, it is just treated like any non-alphabet character. See <> and b64decode(validate=True).

Regarding hex-codec, I doubt many people use it in Python 3. To decode a whole string, binascii.unhexlify() or bytes.fromhex() is probably more obvious, and I think the incremental decoder never worked properly (Issue 20132).
Date User Action Args
2016-12-18 11:03:02martin.pantersetrecipients: + martin.panter, terry.reedy, ncoghlan, nneonneo, serhiy.storchaka
2016-12-18 11:03:02martin.pantersetmessageid: <>
2016-12-18 11:03:02martin.panterlinkissue28927 messages
2016-12-18 11:03:02martin.pantercreate