]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-148653: Fix some marshal errors related to recursive immutable objects...
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 18 Apr 2026 08:57:55 +0000 (11:57 +0300)
committerGitHub <noreply@github.com>
Sat, 18 Apr 2026 08:57:55 +0000 (08:57 +0000)
commitd496c637a3dac2cc5d51aa4a7ebd9a740143a719
tree967f4df4581322b4412ec95cc7270cc8d836f72e
parent67100b3e926c2c7cdd9d0825add677b19664f377
[3.14] gh-148653: Fix some marshal errors related to recursive immutable objects (GH-148698) (GH-148711)

Forbid marshalling recursive code and slice objects which
cannot be correctly unmarshalled.
Add multiple tests for recursive data structures.
(cherry picked from commit 2e37d836411e99cff7bb341ba14be5ea95fac08c)
Lib/test/test_marshal.py
Misc/NEWS.d/next/Core_and_Builtins/2026-04-17-20-37-02.gh-issue-148653.nbbHMh.rst [new file with mode: 0644]
Python/marshal.c