summaryrefslogtreecommitdiffstats
path: root/Modules/_collectionsmodule.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-08-29 05:26:16 (GMT)
committerGitHub <noreply@github.com>2024-08-29 05:26:16 (GMT)
commit0c3ea3023878f5ad5ca4680d5510da1fe208cbfa (patch)
tree0c7a53b10e14015079acd427e32c2db480a73075 /Modules/_collectionsmodule.c
parentc9930f5022f5e7a290896522280e47a1fecba38a (diff)
downloadcpython-0c3ea3023878f5ad5ca4680d5510da1fe208cbfa.zip
cpython-0c3ea3023878f5ad5ca4680d5510da1fe208cbfa.tar.gz
cpython-0c3ea3023878f5ad5ca4680d5510da1fe208cbfa.tar.bz2
gh-123431: Harmonize extension code checks in pickle (GH-123434)
This checks are redundant in normal circumstances and can only work if the extension registry was intentionally broken. * The Python implementation now raises exception for the extension code with false boolean value. * Simplify the C code. RuntimeError is now raised in explicit checks. * Add many tests.
Diffstat (limited to 'Modules/_collectionsmodule.c')
0 files changed, 0 insertions, 0 deletions