On 18/02/2019 23:24, Avi Gross wrote:
Ben asked:
Who says that the “correct spelling in python is all lower case "nan"”?
Fair enough. Except for reserved words in the language, all we have is hints of
what the designers used. The reality is that whoever codes the __str__ and/or
__repr__
NaN 1.00
I think it is time for me stop talking about what is not.
-Original Message-
From: Python-list On
Behalf Of Ben Finney
Sent: Monday, February 18, 2019 5:08 PM
To: python-list@python.org
Subject: Re: The NaNny State
"Avi Gross" writes:
> It is about t
"Avi Gross" writes:
> It is about the recent discussion about the concept and word "nan" as used
> in python and elsewhere. As noted, the correct spelling in python is all
> lower case as in "nan" with a minor exception that creating a nan using
> float(string) allows any combination of cases
cate there is no one totally obvious way.
So when people wonder why python does things in a way they are not seeing as
right, they need to wonder if dropping some preconceptions may let them
learn what the language DOES and adjust rather than fight it. Don't let the
NaNny state dictate what must be.