]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-93627: Align Python implementation of pickle with C implementation of pickle ...
authorPieter Eendebak <pieter.eendebak@gmail.com>
Sun, 10 Sep 2023 07:06:08 +0000 (09:06 +0200)
committerGitHub <noreply@github.com>
Sun, 10 Sep 2023 07:06:08 +0000 (10:06 +0300)
commit85a5d3dbe19249ba8d414d63328ae84241a35528
treeb3e8a0510e86b1f0b8f121c698c21175bd60b47b
parent92578919a60ebe2b8d6d42377f1e27479c156d65
gh-93627: Align Python implementation of pickle with C implementation of pickle (GH-103035)

If a method like __reduce_ex_ or __reduce__ is set to None, a TypeError is raised.
Lib/pickle.py
Lib/test/pickletester.py
Misc/NEWS.d/next/Core and Builtins/2023-03-26-19-11-10.gh-issue-93627.0UgwBL.rst [new file with mode: 0644]