This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author aleax
Recipients
Date 2006-08-22.17:51:21
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Easy to obtain the weird behavior in the summary (in 2.5rc1 and earlier):

>>> inf=1e9999
>>> x = y = inf/inf
>>> x!=y and [x]==[y]
True

I propose to fix it by ensuring that lists (and tuples etc) compare their 
items with exactly the same logic as the == and != operators use.


Alex (aleaxit@gmail.com)

History
Date User Action Args
2007-08-23 14:42:13adminlinkissue1544762 messages
2007-08-23 14:42:13admincreate