You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mutable default argument in multiprocessing.dummy.DummyProcess.__init__ #138813
This can lead to unexpected behavior if the same dictionary is modified between calls.
Other threading-based classes like threading.Thread and threading.Timer already use None as the default and initialize a new dict inside the constructor.
changed the title [-]Mutable default argument in multiprocessing.dummy.DummyProcess.__init__[/-][+]Mutable default argument in `multiprocessing.dummy.DummyProcess.__init__`[/+]on Sep 13, 2025
Activity
[-]Mutable default argument in multiprocessing.dummy.DummyProcess.__init__[/-][+]Mutable default argument in `multiprocessing.dummy.DummyProcess.__init__`[/+]pythongh-138813: Default `BaseProcess` `kwargs` to `None` (python#138814
pythongh-138813: Default `BaseProcess` `kwargs` to `None` (python#138814
gh-138813: Fix mutable default kwargs={} in multiprocessing BaseProce…
pythongh-138813: Fix mutable default kwargs={} in multiprocessing Bas…
pythongh-138813: Fix mutable default kwargs={} in multiprocessing Bas…
[3.14] gh-138813: Fix mutable default kwargs={} in multiprocessing Ba…