Message300997
Simpler reproducer:
>>> import xml.etree.ElementTree
>>> xml.etree.ElementTree.XML(b'<key attr="' + b'x'*1023 + b'\xc3\xa0""/>')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/serhiy/py/cpython/Lib/xml/etree/ElementTree.py", line 1315, in XML
parser.feed(text)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 1023: invalid continuation byte
Seems this is a regression in the Expat library. |
|
Date |
User |
Action |
Args |
2017-08-29 18:58:10 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, Vyacheslav.Rafalskiy |
2017-08-29 18:58:10 | serhiy.storchaka | set | messageid: <1504033090.01.0.0289178744717.issue31303@psf.upfronthosting.co.za> |
2017-08-29 18:58:09 | serhiy.storchaka | link | issue31303 messages |
2017-08-29 18:58:09 | serhiy.storchaka | create | |
|