On Sun, Mar 24, 2013 at 11:49 AM, Dave Angel <[email protected]> wrote: > You can assume that if the id's are equal, the objects are equal. But you > can't assume the inverse or the converse.
To be more specific: If the ids are equal, the objects are identical.
Doesn't mean they'll compare equal - for instance, float("nan") isn't
equal to itself. But for most situations, you can assume that
identical objects compare equal.
ChrisA
--
http://mail.python.org/mailman/listinfo/python-list
