[New-bugs-announce] [issue31303] xml.etree.ElementTree fails to parse a document (regression)

Vyacheslav Rafalskiy report at bugs.python.org
Tue Aug 29 13:45:53 EDT 2017

New submission from Vyacheslav Rafalskiy:

In Python 3.5.4 and 3.6.2, both on Windows and Linux, parsing a manifestly correct xml file like:


UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 1023: invalid continuation byte

Any other Python version I tried works fine, including 2.7.13, 3.5.2 ...

components: XML
files: bad_file.xml
messages: 300996
nosy: Vyacheslav.Rafalskiy
priority: normal
severity: normal
status: open
title: xml.etree.ElementTree fails to parse a document (regression)
type: crash
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file47108/bad_file.xml

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list