[Python-Dev] Not-a-Number (original) (raw)

Ben Finney ben+python at benfinney.id.au
Fri Apr 29 03:11:59 CEST 2011


Terry Reedy <tjreedy at udel.edu> writes:

On 4/28/2011 4:40 AM, Mark Shannon wrote: > NaN does not have to be a float or a Decimal. > Perhaps it should have its own class.

Like None

Would it make sense for ‘NaN’ to be another instance of ‘NoneType’?

-- \ “I am too firm in my consciousness of the marvelous to be ever | `\ fascinated by the mere supernatural …” —Joseph Conrad, The | o) Shadow-Line_ | Ben Finney



More information about the Python-Dev mailing list