[issue13948] rm needless use of set function

2012-02-17 Thread Éric Araujo
Éric Araujo added the comment: 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 p

[issue13948] rm needless use of set function

2012-02-11 Thread Éric Araujo
Éric Araujo added the comment: Done as part of my general test_version cleanup. -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Get rid of doctests in packaging.tests.test_version ___ Python tracker

[issue13948] rm needless use of set function

2012-02-06 Thread Éric Araujo
Éric Araujo added the comment: Yes, this test method could be a little clearer. I’ll do this. -- assignee: tarek -> eric.araujo versions: +3rd party ___ Python tracker ___

[issue13948] rm needless use of set function

2012-02-06 Thread Tshepang Lekhonkhobe
New submission from Tshepang Lekhonkhobe : I assume that the set() function was used to get rid of duplicates from self.versions, but there aren't any and the test would pass even if there were. -- assignee: tarek components: Distutils2 files: rm-needless-use-of-set-function.patch keywo