[issue13612] xml.etree.ElementTree says unknown encoding of a regular encoding
Serhiy Storchaka
report at bugs.python.org
Tue May 21 05:31:10 CEST 2013
Serhiy Storchaka added the comment:
I can propose only raise a specialized exception instead of general xml.etree.ElementTree.ParseError. Here is a patch. It also fixes a buffer overread bug mentioned by Amaury.
----------
components: +Extension Modules, Unicode, XML -Library (Lib)
keywords: +patch
nosy: +ezio.melotti
stage: -> patch review
versions: +Python 3.4
Added file: http://bugs.python.org/file30328/expat_unknown_encoding_handler.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13612>
_______________________________________
More information about the Python-bugs-list
mailing list