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

Chris Barker - NOAA Federal chris.barker at noaa.gov
Sat Jan 24 00:26:04 CET 2015


>>> Longer names preferable.

I had a suggestion on github for the same thing -- how about:

rel_tolerance and abs_tolerance ?

>>> - my brain kept
>> wanting
>>> it to be related to the atoi family of functions from C (ASCII to
>>> Integer (atoi), ASCII to Long (atol), etc,

Not all of us are as contaminated by C ;-) in fact, when I see the C
functions I first think of tolerances...

Long clear names are good.

-Chris


More information about the Python-ideas mailing list