diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-08-29 05:26:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-29 05:26:16 (GMT) |
commit | 0c3ea3023878f5ad5ca4680d5510da1fe208cbfa (patch) | |
tree | 0c7a53b10e14015079acd427e32c2db480a73075 /Modules/getbuildinfo.c | |
parent | c9930f5022f5e7a290896522280e47a1fecba38a (diff) | |
download | cpython-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/getbuildinfo.c')
0 files changed, 0 insertions, 0 deletions