Issue 23261: Clean-up the hack to store the set.pop() search finger in a hash field instead of the setobject.

This commit is contained in:
Raymond Hettinger 2015-01-18 13:12:42 -08:00
parent a556af77a7
commit 1202a4733e
3 changed files with 15 additions and 25 deletions

View file

@ -994,7 +994,7 @@ class SizeofTest(unittest.TestCase):
# frozenset
PySet_MINSIZE = 8
samples = [[], range(10), range(50)]
s = size('3n2P' + PySet_MINSIZE*'nP' + 'nP')
s = size('3n2P' + PySet_MINSIZE*'nP' + '2nP')
for sample in samples:
minused = len(sample)
if minused == 0: tmp = 1