[Python-Dev] Not-a-Number (original) (raw)
James Mills prologic at shortcircuit.net.au
Fri Apr 29 03:20:41 CEST 2011
- Previous message: [Python-Dev] Not-a-Number
- Next message: [Python-Dev] Not-a-Number (was PyObject_RichCompareBool identity shortcut)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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"
- Previous message: [Python-Dev] Not-a-Number
- Next message: [Python-Dev] Not-a-Number (was PyObject_RichCompareBool identity shortcut)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]