[issue21403] cElementTree's Element creation handles attrib argument different from ET

Stefan Behnel report at bugs.python.org
Thu May 1 08:29:26 CEST 2014


Stefan Behnel added the comment:

Works for me in 3.2 and 3.4, fails in 2.7, as reported.

I'll leave it to Eli to decide if this should get fixed in 2.7. In Py2, ET and cET were different modules, so this could also be considered a missing feature in cET. Given that it leads to a serialisation failure, though, it shouldn't hurt to change the behaviour.

(changing title to something more specific)

----------
nosy: +scoder
title: cElementTree creation of nodes with attributes is bugged -> cElementTree's Element creation handles attrib argument different from ET

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


More information about the Python-bugs-list mailing list