API design question for dbf.py

Devin Jeanpierre jeanpierreda at gmail.com
Sat Jul 7 01:01:05 CEST 2012


On Fri, Jul 6, 2012 at 6:46 PM, Ethan Furman <ethan at stoneleaf.us> wrote:
> It's checking for equality, not identity.

  >>> x = float('nan')
  >>> x in [x]
  True

It's checking for equality OR identity.

-- Devin



More information about the Python-list mailing list