[Python-ideas] PEP 485: A Function for testing approximate equality

Chris Barker chris.barker at noaa.gov
Tue Jan 27 23:00:05 CET 2015

On Tue, Jan 27, 2015 at 1:52 PM, Paul Moore <p.f.moore at gmail.com> wrote:

> The order of dictionary iteration is arbitrary. Thanks to hash
> randomization, the order will differ each time the program is run.

duh, of course!.

But question remains -- legitimate use case, or pathological example?

This kind of points to a is_close_to() and a are are_close() function
(better than a flag, yes?) but that really does seem like overkill.



Christopher Barker, Ph.D.

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150127/ffda588a/attachment.html>

More information about the Python-ideas mailing list