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 eric.araujo
Recipients alexis, eric.araujo, tarek, tshepang
Date 2012-02-18.01:14:43
SpamBayes Score 0.0005971113
Marked as misclassified No
Message-id <1329527684.2.0.820938528408.issue13948@psf.upfronthosting.co.za>
In-reply-to
Content
Using a set is actually needed: list membership testing does not use hashes (but probably equality), whereas set and dict membership tests does uses hashes.

(I wrote a class with an __hash__ method that prints something when called, and “test() in []” does not print anything, whereas “test() in set()” does.  So test_hash now uses a set again, and I added a comment to clarify why.)
History
Date User Action Args
2012-02-18 01:14:44eric.araujosetrecipients: + eric.araujo, tarek, alexis, tshepang
2012-02-18 01:14:44eric.araujosetmessageid: <1329527684.2.0.820938528408.issue13948@psf.upfronthosting.co.za>
2012-02-18 01:14:43eric.araujolinkissue13948 messages
2012-02-18 01:14:43eric.araujocreate