SIGN IN SIGN UP

[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>
M
Miss Islington (bot) committed
58e01a1c7f18087c6cde0b462f6f6df975714b44
Parent: 10adcb4
Committed by GitHub <noreply@github.com> on 9/6/2024, 1:50:27 PM