]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-153141: Fix mutable default argument in _SharedMemoryTracker.__init__ ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 5 Jul 2026 19:35:58 +0000 (21:35 +0200)
committerGitHub <noreply@github.com>
Sun, 5 Jul 2026 19:35:58 +0000 (12:35 -0700)
commitc6f5a737fd7c6ed36617090d63a0f1ae8ec41dad
tree6e26f21f41e55d39b8f3d76748d849ccada81f8e
parent85c58cf2daad26e0b325232d472f58126393e981
[3.14] gh-153141: Fix mutable default argument in _SharedMemoryTracker.__init__ (GH-153142) (#153146)

gh-153141: Fix mutable default argument in _SharedMemoryTracker.__init__ (GH-153142)

Fix default argument for segment_names in _SharedMemoryTracker constructor to not use a mutable list.
(cherry picked from commit d733b104d53e96584a6881d2772df65ad82573a0)

Co-authored-by: Vineet Kumar <108144301+whyvineet@users.noreply.github.com>
Lib/multiprocessing/managers.py