]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-143638: Forbid cuncurrent use of the Pickler and Unpickler objects in C...
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 11 Jan 2026 12:34:36 +0000 (14:34 +0200)
committerGitHub <noreply@github.com>
Sun, 11 Jan 2026 12:34:36 +0000 (12:34 +0000)
commite319262c4e22a81f9c53750e9526bebc909b6b09
tree114bd5133419ad9b48528e9f6400665b07848b5a
parentb2a2dcda3a1511d7fdbf6c290f33cb68a478e5a0
[3.13] gh-143638: Forbid cuncurrent use of the Pickler and Unpickler objects in C implementation (GH-143664) (GH-143687)

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