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

Jonathan Goble jcgoble3 at gmail.com
Thu Mar 21 13:26:00 EDT 2019


On Thu, Mar 21, 2019, 1:05 PM Steve Holden <steve at holdenweb.com> wrote:

> On Thu, Mar 21, 2019 at 11:33 AM Antoine Pitrou <solipsis at pitrou.net>
> wrote:
>
>> [...]
>>
>> Most users and applications should /never/ care about the order of XML
>> attributes.
>>
>> Regards
>>
>> Antoine
>>
>
> Especially as the standards specifically say that ordering has no semantic
> impact.
>

When you have a lot of attributes, though, sometimes having them in a
particular defined order can make it easier to reason about and make sense
of the code when manually reviewing it.

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20190321/97d071d8/attachment.html>


More information about the Python-Dev mailing list