[Python-ideas] PEP 485: A Function for testing approximate equality
Paul Moore
p.f.moore at gmail.com
Tue Jan 27 22:52:16 CET 2015
On 27 January 2015 at 21:31, Chris Barker <chris.barker at noaa.gov> wrote:
>> That's going to be
>> a really nasty heisenbug when it crops up in real code, especially since
>> it's only going to change for each invocation of the interpreter.
>
>
> I still don't follow you here -- the asymmetric test is order dependent,
> it's not random.
The order of dictionary iteration is arbitrary. Thanks to hash
randomization, the order will differ each time the program is run.
Paul
More information about the Python-ideas
mailing list