[issue34160] ElementTree not preserving attribute order
Raymond Hettinger
report at bugs.python.org
Sat Nov 10 15:47:03 EST 2018
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
One other thought: We should add a note to the docs for all of the serialization formats saying that we specifically disclaim that they will always generate exactly the same output byte-for-byte. When Serhiy made some small optimizations to the encoding of pickles, it would have broken any test that checked byte-level equality rather than semantic level equality (checked by making sure the pickle/unpickle steps would round-trip without loss of information).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34160>
_______________________________________
More information about the Python-bugs-list
mailing list