Skip to content

Commit

Permalink
set: make set thread-safe
Browse files Browse the repository at this point in the history
  • Loading branch information
colesbury committed Apr 23, 2023
1 parent df4c51f commit 4ca2924
Show file tree
Hide file tree
Showing 2 changed files with 452 additions and 263 deletions.
2 changes: 1 addition & 1 deletion Lib/test/test_sys.py
Original file line number Diff line number Diff line change
Expand Up @@ -1497,7 +1497,7 @@ def delx(self): del self.__x
# frozenset
PySet_MINSIZE = 8
samples = [[], range(10), range(50)]
s = size('3nP' + PySet_MINSIZE*'nP' + '2nP')
s = size('3nPP' + PySet_MINSIZE*'nP' + '2nP')
for sample in samples:
minused = len(sample)
if minused == 0: tmp = 1
Expand Down
Loading

0 comments on commit 4ca2924

Please sign in to comment.