]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-125631: Enable setting persistent_id and persistent_load of pickler and unpickler...
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 7 Nov 2024 06:53:02 +0000 (08:53 +0200)
committerGitHub <noreply@github.com>
Thu, 7 Nov 2024 06:53:02 +0000 (08:53 +0200)
commit223d3dc554dde45f185f7f465753824c6f698b9b
tree93d4411fdafffec3b65e2e25e1fee6706fd3be1c
parent2a6b6b33dfe0f3c435abf2829b62ef3f1ef12cd3
gh-125631: Enable setting persistent_id and persistent_load of pickler and unpickler (GH-125752)

pickle.Pickler.persistent_id and pickle.Unpickler.persistent_load can
again be overridden as instance attributes.
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