SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

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.
S
Serhiy Storchaka committed
0c3ea3023878f5ad5ca4680d5510da1fe208cbfa
Parent: c9930f5
Committed by GitHub <noreply@github.com> on 8/29/2024, 5:26:16 AM