Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
> Raymond, it sounds like your end-user didn't agree that > "sorting is no longer necessary or desirable." Sorry for being unclear. The user needed to *overcome* the sorting behavior so that they could produce an ordering of their own choosing. The problem then became that we had to work out a way to defeat the sorting to allow the requested attribute ordering to be preserved. Roughly: casefile = Element('casefile', clearance="confidential", access="internal", valid_through="31 Mar 2022") The desired result is that the attribute order be preserved. By removing the sort, a user can specify an order they want and have that specification honored. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34160> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com