]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-132775: Unrevert "Add _PyCode_VerifyStateless()" (gh-133625)
authorEric Snow <ericsnowcurrently@gmail.com>
Thu, 8 May 2025 00:00:33 +0000 (18:00 -0600)
committerGitHub <noreply@github.com>
Thu, 8 May 2025 00:00:33 +0000 (00:00 +0000)
commitc39bc81b70cdd67b72a3c12cf2c6418414e266c9
tree58257fde02705966749bab6392bfdd3653d256e3
parent54c3aa1597ef3b7a967a27a5ea8577cefeb59769
[3.14] gh-132775: Unrevert "Add _PyCode_VerifyStateless()" (gh-133625)

This reverts commit 3c73cf5 (gh-133497), which itself reverted
the original commit d270bb5 (gh-133221).

We reverted the original change due to failing android tests.
The checks in _PyCode_CheckNoInternalState() were too strict,
so we've relaxed them.
Include/internal/pycore_code.h
Include/internal/pycore_function.h
Include/internal/pycore_opcode_utils.h
Lib/test/_code_definitions.py
Lib/test/test_code.py
Modules/_testinternalcapi.c
Objects/codeobject.c
Objects/funcobject.c