Message286849
Due to implementation changes, since CPython 3.6 dict keys are returned
in insertion order. However, in order to test for reproducible builds [0],
it would be convenient to be able to reverse this ordering; we would then
run a build of an arbitrary package both with and without this flag and
compare the resulting binary.
(We already run such a testing framework, so specifying this environment
variable would be trivial. Note that this "reverse" would actually find
more issues than simply relying on the pre-3.6 non-deterministic
behaviour.)
This patch changes the behaviour of:
* for x in d:
* d.popitem()
* d.items()
* _PyDict_Next
[0] https://reproducible-builds.org/ |
|
Date |
User |
Action |
Args |
2017-02-03 09:37:45 | lamby | set | recipients:
+ lamby |
2017-02-03 09:37:45 | lamby | set | messageid: <1486114665.09.0.174630363127.issue29431@psf.upfronthosting.co.za> |
2017-02-03 09:37:44 | lamby | link | issue29431 messages |
2017-02-03 09:37:44 | lamby | create | |
|