]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-132775: Unrevert "Add _PyCode_VerifyStateless()" (gh-133528)
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)
commit27128e4fa8e2575025fb6d943fbc84000c7c3e8a
tree97edc7769ff9b2bbeb6bc8e5c109baf37a316f96
parent61ac88c06e0286cfc6465a47552d41b7dd7e083e
gh-132775: Unrevert "Add _PyCode_VerifyStateless()" (gh-133528)

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