Julian Sivertsen <[email protected]> added the comment:
I don't understand why this library should go out of its way to support the old
behavior when it seems like the only thing it breaks is tests that assume
something that was never guaranteed and where you can get the old behavior in
just two lines of Python:
for node in root.iter():
node.attrib = dict(sorted(node.items()))
Kind regards from confused Pythoner that just wonted the attribute order to
make sense
----------
nosy: +sivert
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue34160>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com