Message283545
Is it worth to ignore also non-ASCII whitespaces for compatibility with string-to-number convertions and base64 decoder?
>>> float('\xa01.0')
1.0
>>> base64.decodebytes(b'\xa0YWJj')
b'abc'
Note that not all spaces are ignored. They shouldn't break hexadecimal pairs.
>>> bytes.fromhex('a b')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: non-hexadecimal number found in fromhex() arg at position 1 |
|
Date |
User |
Action |
Args |
2016-12-18 08:44:32 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, ncoghlan, nneonneo, martin.panter |
2016-12-18 08:44:32 | serhiy.storchaka | set | messageid: <1482050672.77.0.361734708219.issue28927@psf.upfronthosting.co.za> |
2016-12-18 08:44:32 | serhiy.storchaka | link | issue28927 messages |
2016-12-18 08:44:32 | serhiy.storchaka | create | |
|