This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sivert
Recipients Mariatta, dfrojas, eli.bendersky, nedbat, rhettinger, scoder, serhiy.storchaka, sivert, taleinat, vstinner
Date 2018-12-19.14:48:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1545230927.85.0.788709270274.issue34160@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2018-12-19 14:48:48sivertsetrecipients: + sivert, rhettinger, scoder, vstinner, taleinat, nedbat, eli.bendersky, serhiy.storchaka, Mariatta, dfrojas
2018-12-19 14:48:47sivertsetmessageid: <1545230927.85.0.788709270274.issue34160@psf.upfronthosting.co.za>
2018-12-19 14:48:47sivertlinkissue34160 messages
2018-12-19 14:48:47sivertcreate