]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-143638: Forbid cuncurrent use of the Pickler and Unpickler objects in C implementa...
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 11 Jan 2026 12:01:13 +0000 (14:01 +0200)
committerGitHub <noreply@github.com>
Sun, 11 Jan 2026 12:01:13 +0000 (14:01 +0200)
commitd1282efb2b847bf9274d78c5f15ea00499b2c894
treee39dc4c2ecbb04a8b9475da8fd984bb8e530c059
parent03e6457096d452859fb4cfd418dc9268c6454c29
gh-143638: Forbid cuncurrent use of the Pickler and Unpickler objects in C implementation (GH-143664)

Previously, this could cause crash or data corruption, now concurrent calls
of methods of the same object raise RuntimeError.
Lib/test/test_pickle.py
Misc/NEWS.d/next/Library/2026-01-10-16-42-47.gh-issue-143638.du5G7d.rst [new file with mode: 0644]
Modules/_pickle.c