]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] 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:51 +0000 (21:36 +0200)
committerGitHub <noreply@github.com>
Sun, 5 Jul 2026 19:36:51 +0000 (19:36 +0000)
commit5ae62034e5ef8c9799f08364e06ade9064826e39
treebb2726b5c0227070a9d71fe152c43e4b54c9644c
parent986322e6136b7075544df1da9600d36f919e497e
[3.15] gh-153141: Fix mutable default argument in _SharedMemoryTracker.__init__ (GH-153142) (#153145)

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