summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorKumar Aditya <kumaraditya@python.org>2024-08-27 13:04:03 (GMT)
committerGitHub <noreply@github.com>2024-08-27 13:04:03 (GMT)
commit03f5abf15a20f6e623282a393bc2a0affac69bb0 (patch)
tree1512e4add5d1f42b56c3890a9cf88119215c8483 /Python
parent6754566a51a5706e8c9da0094b892113311ba20c (diff)
downloadcpython-03f5abf15a20f6e623282a393bc2a0affac69bb0.zip
cpython-03f5abf15a20f6e623282a393bc2a0affac69bb0.tar.gz
cpython-03f5abf15a20f6e623282a393bc2a0affac69bb0.tar.bz2
gh-123089: Make weakref.WeakSet safe against concurrent mutations while it is being iterated (#123279)
* Make `weakref.WeakSet` safe against concurrent mutations while it is being iterated. `_IterationGuard` is no longer used for `WeakSet`, it now relies on copying the underlying set which is an atomic operation while iterating so that it can be modified by other threads.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions