[issue6233] ElementTree (py3k) doesn't properly encode characters that can't be represented in the specified encoding
Fredrik Lundh
report at bugs.python.org
Sun Jun 21 23:33:02 CEST 2009
Fredrik Lundh <fredrik at effbot.org> added the comment:
Umm. Isn't _encode used to encode tags and attribute names? The charref
syntax is only valid in CDATA sections and attribute values, which are
encoded by the corresponding _escape functions. I suspect this patch will
make things blow up on a non-ASCII tag/attribute name.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6233>
_______________________________________
More information about the Python-bugs-list
mailing list