[Python-Dev] Is XML serialization output guaranteed to be bytewise identical forever?

Stefan Behnel stefan_ml at behnel.de
Tue Mar 19 14:42:39 EDT 2019


Ned Batchelder schrieb am 19.03.19 um 12:53:
> I need to re-engineer my tests.

… or sort the attributes before serialisation, or use C14N always, or
change your code to create the attributes in sorted-by-name order. The new
behaviour allows for a couple of ways to deal with the issue of backwards
compatibility.

Stefan



More information about the Python-Dev mailing list