]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-153141: Fix mutable default argument in _SharedMemoryTracker.__init__ ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 5 Jul 2026 19:36:15 +0000 (21:36 +0200)
committerGitHub <noreply@github.com>
Sun, 5 Jul 2026 19:36:15 +0000 (12:36 -0700)
commite9f8969cf2fba0eb208bde49990d07b91bacc0f6
treec3aa17b0bcaca88d188898896f80bc93395538e0
parent491d8302e66aae3b907d424310f9e923048fc015
[3.13] gh-153141: Fix mutable default argument in _SharedMemoryTracker.__init__ (GH-153142) (#153147)

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