[issue34160] ElementTree not preserving attribute order

Ned Batchelder report at bugs.python.org
Sat Nov 10 09:53:27 EST 2018


Ned Batchelder <ned at nedbatchelder.com> added the comment:

To provide a little more context: coverage.py has tests that the XML reports it generates are correct.  It does this by comparing the result to saved XML files.  On Python versions up to 3.7, the file compares correctly.  It has sorted attributes generated by minidom.  Now on Python 3.8, the comparison fails.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34160>
_______________________________________


More information about the Python-bugs-list mailing list