]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-125631: Enable setting persistent_id and persistent_load of pickler and...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 7 Nov 2024 07:21:23 +0000 (08:21 +0100)
committerGitHub <noreply@github.com>
Thu, 7 Nov 2024 07:21:23 +0000 (07:21 +0000)
commit07a6aa3f8f76994bed4c745758d93b6578cd76e4
tree6e3fcedac2ef494c857633caa2f41dfe5e3c510b
parent59316a668ec17374640cdd5fdd73fa2ca23f66b5
[3.13] gh-125631: Enable setting persistent_id and persistent_load of pickler and unpickler (GH-125752) (GH-126528)

pickle.Pickler.persistent_id and pickle.Unpickler.persistent_load can
again be overridden as instance attributes.
(cherry picked from commit 223d3dc554dde45f185f7f465753824c6f698b9b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_pickle.py
Misc/NEWS.d/next/Library/2024-10-19-11-06-06.gh-issue-125631.BlhVvR.rst [new file with mode: 0644]
Modules/_pickle.c