]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-143638: Forbid cuncurrent use of the Pickler and Unpickler objects in C...
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 11 Jan 2026 12:37:00 +0000 (14:37 +0200)
committerGitHub <noreply@github.com>
Sun, 11 Jan 2026 12:37:00 +0000 (12:37 +0000)
commit115b27d2bbe01de4829c9e4b4d99e008f3732f79
tree6ce4e16cb782e49eb604da5d75daa38eb2364711
parent70ddd3ea9afc109aca40f8cc1acdb7a174894db0
[3.14] gh-143638: Forbid cuncurrent use of the Pickler and Unpickler objects in C implementation (GH-143664) (GH-143686)

Previously, this could cause crash or data corruption, now concurrent calls
of methods of the same object raise RuntimeError.
(cherry picked from commit d1282efb2b847bf9274d78c5f15ea00499b2c894)
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