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 ethan.furman
Recipients docs@python, eric.araujo, ethan.furman, ezio.melotti, georg.brandl, jonrsharpe, r.david.murray
Date 2015-04-20.15:29:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429543763.14.0.847919882238.issue23987@psf.upfronthosting.co.za>
In-reply-to
Content
So something like:

For container types such as list, tuple, or collections.deque, the expression 'x in y' is equivalent to 'any(x is e or x == e for e in y)'.  For container types such as set, frozenset, and dict, this equivalence expression is modified by the addition of 'if hash(x) == hash(e)'.

?
History
Date User Action Args
2015-04-20 15:29:23ethan.furmansetrecipients: + ethan.furman, georg.brandl, ezio.melotti, eric.araujo, r.david.murray, docs@python, jonrsharpe
2015-04-20 15:29:23ethan.furmansetmessageid: <1429543763.14.0.847919882238.issue23987@psf.upfronthosting.co.za>
2015-04-20 15:29:23ethan.furmanlinkissue23987 messages
2015-04-20 15:29:23ethan.furmancreate