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

James Mills prologic at shortcircuit.net.au
Fri Apr 29 03:20:41 CEST 2011


On Fri, Apr 29, 2011 at 11:11 AM, Ben Finney <ben+python at benfinney.id.au> wrote:

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

This is fine IHMO as I (personally) find myself doing things like:

if x is None: ...

cheers James

-- -- James Mills

-- "Problems are solved by method"



More information about the Python-Dev mailing list