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

Andrew Barnert abarnert at yahoo.com
Sat Jan 24 00:11:45 CET 2015


On Friday, January 23, 2015 2:09 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:

> > On Sat, 24 Jan 2015 08:55:33 +1100
> Chris Angelico <rosuav at gmail.com> wrote:
>> 
>>  Longer names preferable. It was quite a long way into the original
>>  thread before I understood what "atol" meant - 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, converting strings to
>>  integers).
> 
> Same thing here, I think "atol" is too cryptic.


Agreed, it would take some work to train myself not to see "ASCII string to long integer" whenever I see "atol"...


More information about the Python-ideas mailing list