[issue8047] Serialiser in ElementTree returns unicode strings in Py3k

Antoine Pitrou report at bugs.python.org
Sun Mar 7 15:41:09 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

As Florent said, it is a rule of py3k to avoid implicit encoding/decoding. The fact that it could have made sense for 2.x as well is not relevant, since the change was only done in py3k (and for good reason: we normally try not to break compatibility without prior notice).

In any case, I have trouble understanding your concern here. Do you think the change is bad? Is it really that difficult to support it in lxml?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8047>
_______________________________________


More information about the Python-bugs-list mailing list