]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-113626: Add allow_code parameter in marshal functions (GH-113648)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 16 Jan 2024 16:05:15 +0000 (18:05 +0200)
committerGitHub <noreply@github.com>
Tue, 16 Jan 2024 16:05:15 +0000 (18:05 +0200)
commitd2d8332f71ae8059150a9d8d91498493f9b443fc
tree7bb8e062076a69e3a0b9317c36374da2a4739d76
parenta482bc67ee786e60937a547776fcf9528810e1ce
gh-113626: Add allow_code parameter in marshal functions (GH-113648)

Passing allow_code=False prevents serialization and de-serialization of
code objects which is incompatible between Python versions.
Doc/library/marshal.rst
Doc/whatsnew/3.13.rst
Include/internal/pycore_global_objects_fini_generated.h
Include/internal/pycore_global_strings.h
Include/internal/pycore_runtime_init_generated.h
Include/internal/pycore_unicodeobject_generated.h
Lib/test/test_marshal.py
Misc/NEWS.d/next/Library/2024-01-02-12-41-59.gh-issue-113626.i1PPY_.rst [new file with mode: 0644]
Python/clinic/marshal.c.h
Python/marshal.c