Message329999
> 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. |
|
Date |
User |
Action |
Args |
2018-11-16 14:04:22 | scoder | set | recipients:
+ scoder, rhettinger, vstinner, taleinat, nedbat, eli.bendersky, serhiy.storchaka, Mariatta, dfrojas |
2018-11-16 14:04:22 | scoder | set | messageid: <1542377062.7.0.788709270274.issue34160@psf.upfronthosting.co.za> |
2018-11-16 14:04:22 | scoder | link | issue34160 messages |
2018-11-16 14:04:22 | scoder | create | |
|