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 terry.reedy
Recipients martin.panter, ncoghlan, nneonneo, terry.reedy
Date 2016-12-16.23:27:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I am a bit dubious about this.  There is a tradeoff here between convenience and bug detection.  The patch is not strictly necessary.

>>> bytes.fromhex('ab\ncd'.replace('\n', ''))

Bytes (and bytearray) .fromhex already ignores spaces.  Not ignoring newlines, by default, may have been intentional.  Nick, you wrote the doc entry for 'fromhex'.  Do you know anything about the design intention?
Date User Action Args
2016-12-16 23:27:38terry.reedysetrecipients: + terry.reedy, ncoghlan, nneonneo, martin.panter
2016-12-16 23:27:38terry.reedysetmessageid: <>
2016-12-16 23:27:38terry.reedylinkissue28927 messages
2016-12-16 23:27:38terry.reedycreate