]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-123431: Harmonize extension code checks in pickle (GH-123434) (#123460)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 6 Sep 2024 13:50:27 +0000 (15:50 +0200)
committerGitHub <noreply@github.com>
Fri, 6 Sep 2024 13:50:27 +0000 (15:50 +0200)
commit58e01a1c7f18087c6cde0b462f6f6df975714b44
tree7681fc60fb52cc04a19aeb2127c83069002e059a
parent10adcb4a2b67eb30f807ed01495b50a7b2064735
[3.12] gh-123431: Harmonize extension code checks in pickle (GH-123434) (#123460)

This checks are redundant in normal circumstances and can only work if
the extension registry was intentionally broken.

(cherry picked from commit 0c3ea3023878f5ad5ca4680d5510da1fe208cbfa)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/pickle.py
Lib/test/pickletester.py
Modules/_pickle.c