Devin Jeanpierre wrote:
On Fri, Jul 6, 2012 at 6:46 PM, Ethan Furman wrote:
It's checking for equality, not identity.
>>> x = float('nan')
>>> x in [x]
True
It's checking for equality OR identity.
Good point. In my case, checking for equality will cover both cases.
~Ethan~
--
http:
On Fri, Jul 6, 2012 at 6:46 PM, Ethan Furman wrote:
> It's checking for equality, not identity.
>>> x = float('nan')
>>> x in [x]
True
It's checking for equality OR identity.
-- Devin
--
http://mail.python.org/mailman/listinfo/python-list
MRAB wrote:
On 06/07/2012 22:34, Ethan Furman wrote:
I'm looking for some free advice. ;)
My dbf module has three basic containers, all of which support list-like
access: Table, List, and Index, each of which is filled with
_DbfRecords.
The fun part is that a _DbfRecord can compare equal t
On 06/07/2012 22:34, Ethan Furman wrote:
I'm looking for some free advice. ;)
My dbf module has three basic containers, all of which support list-like
access: Table, List, and Index, each of which is filled with _DbfRecords.
The fun part is that a _DbfRecord can compare equal to another
_DbfR
I'm looking for some free advice. ;)
My dbf module has three basic containers, all of which support list-like
access: Table, List, and Index, each of which is filled with _DbfRecords.
The fun part is that a _DbfRecord can compare equal to another
_DbfRecord, a _DbfRecordTemplate, a tuple wi