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 nedbat
Recipients Mariatta, dfrojas, eli.bendersky, nedbat, rhettinger, scoder, serhiy.storchaka, taleinat, vstinner
Date 2018-11-10.18:51:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Words like flawed from the outset, fundamentally flawed, fragile, and ill-conceived are being thrown around, which does not help the discussion.  Can we focus on the question of whether it's reasonable to add sorted attributes as an option?

This idea exactly parallels the sort_keys option in the json module.  It precisely solves the problem I have.  The code change is small.  I'll even volunteer to make the pull request.

I'm not suggesting that we get rid of the new feature of preserving the user's attributes order. I'm not even suggesting that the new feature needs to be the non-default option. I'd just like a way to sort attributes in XML output.
Date User Action Args
2018-11-10 18:51:35nedbatsetrecipients: + nedbat, rhettinger, scoder, vstinner, taleinat, eli.bendersky, serhiy.storchaka, Mariatta, dfrojas
2018-11-10 18:51:35nedbatsetmessageid: <>
2018-11-10 18:51:35nedbatlinkissue34160 messages
2018-11-10 18:51:35nedbatcreate