Author terry.reedy
Recipients belopolsky, docs@python, mark.dickinson, ncoghlan, rhettinger, terry.reedy, v+python
Date 2011-04-28.19:30:31
SpamBayes Score 0.00179165
Marked as misclassified No
Message-id <>
To repeat concisely what I said on pydev list, I think Reference 5.9. Comparisons, which says

"Tuples and lists are compared lexicographically using comparison of corresponding elements. This means that to compare equal, each element must compare equal and the two sequences must be of the same type and have the same length.".

needs 'be indentical or ' added before 'compare equal and ...'

"Mappings (dictionaries) compare equal if and only if they have the same (key, value) pairs."

may be ok, depending on how one interprets 'same (key, value) pairs'.

Alexander has opened a separate issue to change behavior in 3.3.
Date User Action Args
2011-04-28 19:30:32terry.reedysetrecipients: + terry.reedy, rhettinger, mark.dickinson, ncoghlan, belopolsky, v+python, docs@python
2011-04-28 19:30:32terry.reedysetmessageid: <>
2011-04-28 19:30:31terry.reedylinkissue11945 messages
2011-04-28 19:30:31terry.reedycreate