Author scoder
Recipients Mariatta, dfrojas, eli.bendersky, nedbat, rhettinger, scoder, serhiy.storchaka, taleinat, vstinner
Date 2018-11-16.14:04:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1542377062.7.0.788709270274.issue34160@psf.upfronthosting.co.za>
In-reply-to
Content
> Maybe some people prefer sorting to get a more deterministic output

Note that those people are much better off with C14N. It is the one tool designed for all of these use cases, even usable for cryptographic signatures. And it's trivial to use, it's just a different serialiser.

The new option would only be for people who want the old behaviour for backwards compatibility reasons, like Ned who wants to keep his existing byte level tests working that were created by the previous version. Understandable, although re-serialising the test samples with C14N would probably still be the better approach, because it guards against more than just changes in the attribute order.

Maybe it's time to think about adding the ET C14N module to the stdlib again, see issue13611.
History
Date User Action Args
2018-11-16 14:04:22scodersetrecipients: + scoder, rhettinger, vstinner, taleinat, nedbat, eli.bendersky, serhiy.storchaka, Mariatta, dfrojas
2018-11-16 14:04:22scodersetmessageid: <1542377062.7.0.788709270274.issue34160@psf.upfronthosting.co.za>
2018-11-16 14:04:22scoderlinkissue34160 messages
2018-11-16 14:04:22scodercreate