Skip to content

Commit 306d869

Browse files
committed
Address review: snapshot with list(); drop the NEWS entry
The fix is for an unrealized feature, so no NEWS is needed.
1 parent 0ed8330 commit 306d869

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

Lib/multiprocessing/pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ def close(self):
668668
self._change_notifier.put(None)
669669
# Wake any task generator throttled on a buffersize semaphore so
670670
# it observes the CLOSE state and stops submitting.
671-
for sema in tuple(self._taskqueue_buffersize_semaphores):
671+
for sema in list(self._taskqueue_buffersize_semaphores):
672672
sema.release()
673673

674674
def terminate(self):

Misc/NEWS.d/next/Library/2026-08-10-17-54-16.gh-issue-155477.Mp6Db2.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)