{ "instance_id": "CPython_PEP-793_PyModExport-A-new-entry-point-for-C-extension-modules_PR-140556", "project": "cpython", "language": "python", "requirement_doc": "https://peps.python.org/pep-0793/", "requirement_doc_title": "PEP 793 \u2014 PyModExport: A new entry point for C extension modules", "pr_link": "https://github.com/python/cpython/pull/140556", "pr_number": 140556, "merge_commit": "589a03a8ce60cc65f91930f7d63367b03cfbbb12", "base_commit": "f2bce51b984f52db14d90f7bbd0b7df00b7c5637", "base_commit_note": "PR-140556 merged 2025-11-05; base_commit is the squash-merge parent.", "test_level": "system", "fail_to_pass": [ "test.test_capi.test_module.TestModFromSlotsAndSpec.test_empty", "test.test_capi.test_module.TestModFromSlotsAndSpec.test_null_slots", "test.test_capi.test_module.TestModFromSlotsAndSpec.test_name", "test.test_capi.test_module.TestModFromSlotsAndSpec.test_doc", "test.test_capi.test_module.TestModFromSlotsAndSpec.test_size", "test.test_capi.test_module.TestModFromSlotsAndSpec.test_methods", "test.test_capi.test_module.TestModFromSlotsAndSpec.test_gc", "test.test_capi.test_module.TestModFromSlotsAndSpec.test_token", "test.test_capi.test_module.TestModFromSlotsAndSpec.test_exec", "test.test_capi.test_module.TestModFromSlotsAndSpec.test_create", "test.test_capi.test_module.TestModFromSlotsAndSpec.test_def_slot", "test.test_capi.test_module.TestModFromSlotsAndSpec.test_repeated_def_slot", "test.test_capi.test_module.TestModFromSlotsAndSpec.test_null_def_slot", "test.test_capi.test_module.TestModFromSlotsAndSpec.test_def_multiple_exec", "test.test_capi.test_module.TestModFromSlotsAndSpec.test_def_token", "test.test_capi.test_module.TestModFromSlotsAndSpec.test_get_state_size", "test.test_import.SubinterpImportTests.test_testmultiphase_exec_multiple", "test.test_import.ModexportTests.test_from_modexport", "test.test_import.ModexportTests.test_from_modexport_null", "test.test_import.ModexportTests.test_from_modexport_exception", "test.test_import.ModexportTests.test_from_modexport_create_nonmodule", "test.test_import.ModexportTests.test_from_modexport_smoke", "test.test_import.ModexportTests.test_from_modexport_smoke_token", "test.test_import.ModexportTests.test_from_modexport_empty_slots", "test.test_capi.test_type.TypeTests.test_get_module_by_token" ], "pass_to_pass": [ "test.test_capi.test_abstract.CAPITest.test_object_str", "test.test_capi.test_abstract.CAPITest.test_object_repr", "test.test_capi.test_abstract.CAPITest.test_object_ascii", "test.test_capi.test_abstract.CAPITest.test_object_bytes", "test.test_capi.test_abstract.CAPITest.test_object_getattr", "test.test_capi.test_abstract.CAPITest.test_object_getattrstring", "test.test_capi.test_abstract.CAPITest.test_object_getoptionalattr", "test.test_capi.test_abstract.CAPITest.test_object_getoptionalattrstring", "test.test_capi.test_abstract.CAPITest.test_object_hasattr", "test.test_capi.test_abstract.CAPITest.test_object_hasattrstring", "test.test_capi.test_abstract.CAPITest.test_object_hasattrwitherror", "test.test_capi.test_abstract.CAPITest.test_object_hasattrstringwitherror", "test.test_capi.test_abstract.CAPITest.test_object_setattr", "test.test_capi.test_abstract.CAPITest.test_object_setattrstring", "test.test_capi.test_abstract.CAPITest.test_object_delattr", "test.test_capi.test_abstract.CAPITest.test_object_delattrstring", "test.test_capi.test_abstract.CAPITest.test_mapping_check", "test.test_capi.test_abstract.CAPITest.test_mapping_size", "test.test_capi.test_abstract.CAPITest.test_object_getitem", "test.test_capi.test_abstract.CAPITest.test_mapping_getitemstring", "test.test_capi.test_abstract.CAPITest.test_mapping_getoptionalitem", "test.test_capi.test_abstract.CAPITest.test_mapping_getoptionalitemstring", "test.test_capi.test_abstract.CAPITest.test_mapping_haskey", "test.test_capi.test_abstract.CAPITest.test_mapping_haskeystring", "test.test_capi.test_abstract.CAPITest.test_mapping_haskeywitherror", "test.test_capi.test_abstract.CAPITest.test_mapping_haskeystringwitherror", "test.test_capi.test_abstract.CAPITest.test_object_setitem", "test.test_capi.test_abstract.CAPITest.test_mapping_setitemstring", "test.test_capi.test_abstract.CAPITest.test_object_delitem", "test.test_capi.test_abstract.CAPITest.test_mapping_delitemstring", "test.test_capi.test_abstract.CAPITest.test_mapping_keys_valuesitems", "test.test_capi.test_abstract.CAPITest.test_mapping_keys_valuesitems_bad_arg", "test.test_capi.test_abstract.CAPITest.test_sequence_check", "test.test_capi.test_abstract.CAPITest.test_sequence_size", "test.test_capi.test_abstract.CAPITest.test_sequence_getitem", "test.test_capi.test_abstract.CAPITest.test_sequence_concat", "test.test_capi.test_abstract.CAPITest.test_sequence_repeat", "test.test_capi.test_abstract.CAPITest.test_sequence_inplaceconcat", "test.test_capi.test_abstract.CAPITest.test_sequence_inplacerepeat", "test.test_capi.test_abstract.CAPITest.test_sequence_setitem", "test.test_capi.test_abstract.CAPITest.test_sequence_delitem", "test.test_capi.test_abstract.CAPITest.test_sequence_setslice", "test.test_capi.test_abstract.CAPITest.test_sequence_delslice", "test.test_capi.test_abstract.CAPITest.test_sequence_count", "test.test_capi.test_abstract.CAPITest.test_sequence_contains", "test.test_capi.test_abstract.CAPITest.test_sequence_index", "test.test_capi.test_abstract.CAPITest.test_sequence_list", "test.test_capi.test_abstract.CAPITest.test_sequence_tuple", "test.test_capi.test_abstract.CAPITest.test_sequence_fast", "test.test_capi.test_abstract.CAPITest.test_object_generichash" ], "solution_patch_sha256": "6d558ee3078afb84fb9020d25944f24fd56a95d0891e671e274e81b08e8a5fa0", "eval_tests_patch_sha256": "f86c0ee55922d2f6ac9de3c275efa5fc90e5e2cd1712eabe40f574a14da4030d", "eval_helpers_patch_sha256": "d9d25a4d1d82ab7fa6d0a2baf9c06a29a02db995d1b12535f472992683d4aa4e", "omitted_patch_sha256": "a581578e8ade06d0afe0c12a8d8b3811b9908f8f528dc5c4f1464a4642b54b30", "eval_tests_patch_notes": "NEW Lib/test/test_capi/test_module.py (17 PyModExport / PyModule_FromSlotsAndSpec test methods). Edits to test_capi/test_type.py (TypeTests.test_get_module_by_token new), test_cext/__init__.py (refactor to BaseTests mixin), test_cext/extension.c, test_cext/setup.py, test_import/__init__.py (NEW ModexportTests class + SubinterpImportTests.test_testmultiphase_exec_multiple), test_stable_abi_ctypes.py, test_sys.py. Companion eval_helpers.patch carries the harness-owned C test-helper modules (Modules/_testcapi/module.c NEW + _testcapi/heaptype.c, _testcapi/parts.h, _testcapimodule.c, _testinternalcapi.c, _testmultiphase.c, _testsinglephase.c, Setup.stdlib.in wiring) that these Python tests drive; run_tests.sh applies it only when a solution is present, so the agent implements the public PEP 793 API and the harness supplies the undocumented scaffolding.", "omitted_patch_notes": "Doc/data/stable_abi.dat, Misc/NEWS/C_API entry, PCbuild/_testcapi project files.", "fixture_taint_summary": "25 F2P. 16 from NEW Lib/test/test_capi/test_module.py (TestModFromSlotsAndSpec) \u2014 file imports succeed at base (file is new at merge), pre-state ERROR is AttributeError on _testcapi.module_from_slots_* because the C-API helpers added by the PR don't exist on base's _testcapi extension. 7 from NEW ModexportTests class in test_import/__init__.py \u2014 pre-state ImportError when test_import package import tries to resolve the new annotationlib-free Modexport fixtures. test_import.SubinterpImportTests.test_testmultiphase_exec_multiple is a new method (AttributeError pre-state). test_capi.test_type.TypeTests.test_get_module_by_token is a new method (AttributeError pre-state). Dropped TestModFromSlotsAndSpec.test_none_spec because it would pass vacuously at pre-state via assertRaises(AttributeError) on the not-yet-existing API. NOTE: the _testcapi/_testmultiphase/_testinternalcapi helper functions live in eval_helpers.patch (harness-owned), applied by run_tests.sh ONLY when a solution is present; they were previously bundled in solution.patch, which made a functionally-correct-but-different implementation score ~0 because it could not reproduce the undocumented scaffolding (magic module_test_token, the _gimme_this/_test_slot_id spec protocol). Validated: feature-only solution -> union F2P 31/31 + P2P 52/52; pre-state -> F2P 0/31 (AttributeError) + P2P 52/52; post tree byte-identical to original gold.", "triage": { "fail_to_pass": { "test.test_capi.test_module.TestModFromSlotsAndSpec.test_empty": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_module.TestModFromSlotsAndSpec.test_empty", "fixture_taint_checked": true, "fixture_taint_note": "AttributeError on missing _testcapi.module_from_slots_* helper at pre-state" }, "test.test_capi.test_module.TestModFromSlotsAndSpec.test_null_slots": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_module.TestModFromSlotsAndSpec.test_null_slots", "fixture_taint_checked": true, "fixture_taint_note": "AttributeError on missing _testcapi.module_from_slots_* helper at pre-state" }, "test.test_capi.test_module.TestModFromSlotsAndSpec.test_name": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_module.TestModFromSlotsAndSpec.test_name", "fixture_taint_checked": true, "fixture_taint_note": "AttributeError on missing _testcapi.module_from_slots_* helper at pre-state" }, "test.test_capi.test_module.TestModFromSlotsAndSpec.test_doc": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_module.TestModFromSlotsAndSpec.test_doc", "fixture_taint_checked": true, "fixture_taint_note": "AttributeError on missing _testcapi.module_from_slots_* helper at pre-state" }, "test.test_capi.test_module.TestModFromSlotsAndSpec.test_size": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_module.TestModFromSlotsAndSpec.test_size", "fixture_taint_checked": true, "fixture_taint_note": "AttributeError on missing _testcapi.module_from_slots_* helper at pre-state" }, "test.test_capi.test_module.TestModFromSlotsAndSpec.test_methods": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_module.TestModFromSlotsAndSpec.test_methods", "fixture_taint_checked": true, "fixture_taint_note": "AttributeError on missing _testcapi.module_from_slots_* helper at pre-state" }, "test.test_capi.test_module.TestModFromSlotsAndSpec.test_gc": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_module.TestModFromSlotsAndSpec.test_gc", "fixture_taint_checked": true, "fixture_taint_note": "AttributeError on missing _testcapi.module_from_slots_* helper at pre-state" }, "test.test_capi.test_module.TestModFromSlotsAndSpec.test_token": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_module.TestModFromSlotsAndSpec.test_token", "fixture_taint_checked": true, "fixture_taint_note": "AttributeError on missing _testcapi.module_from_slots_* helper at pre-state" }, "test.test_capi.test_module.TestModFromSlotsAndSpec.test_exec": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_module.TestModFromSlotsAndSpec.test_exec", "fixture_taint_checked": true, "fixture_taint_note": "AttributeError on missing _testcapi.module_from_slots_* helper at pre-state" }, "test.test_capi.test_module.TestModFromSlotsAndSpec.test_create": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_module.TestModFromSlotsAndSpec.test_create", "fixture_taint_checked": true, "fixture_taint_note": "AttributeError on missing _testcapi.module_from_slots_* helper at pre-state" }, "test.test_capi.test_module.TestModFromSlotsAndSpec.test_def_slot": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_module.TestModFromSlotsAndSpec.test_def_slot", "fixture_taint_checked": true, "fixture_taint_note": "AttributeError on missing _testcapi.module_from_slots_* helper at pre-state" }, "test.test_capi.test_module.TestModFromSlotsAndSpec.test_repeated_def_slot": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_module.TestModFromSlotsAndSpec.test_repeated_def_slot", "fixture_taint_checked": true, "fixture_taint_note": "AttributeError on missing _testcapi.module_from_slots_* helper at pre-state" }, "test.test_capi.test_module.TestModFromSlotsAndSpec.test_null_def_slot": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_module.TestModFromSlotsAndSpec.test_null_def_slot", "fixture_taint_checked": true, "fixture_taint_note": "AttributeError on missing _testcapi.module_from_slots_* helper at pre-state" }, "test.test_capi.test_module.TestModFromSlotsAndSpec.test_def_multiple_exec": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_module.TestModFromSlotsAndSpec.test_def_multiple_exec", "fixture_taint_checked": true, "fixture_taint_note": "AttributeError on missing _testcapi.module_from_slots_* helper at pre-state" }, "test.test_capi.test_module.TestModFromSlotsAndSpec.test_def_token": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_module.TestModFromSlotsAndSpec.test_def_token", "fixture_taint_checked": true, "fixture_taint_note": "AttributeError on missing _testcapi.module_from_slots_* helper at pre-state" }, "test.test_capi.test_module.TestModFromSlotsAndSpec.test_get_state_size": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_module.TestModFromSlotsAndSpec.test_get_state_size", "fixture_taint_checked": true, "fixture_taint_note": "AttributeError on missing _testcapi.module_from_slots_* helper at pre-state" }, "test.test_import.SubinterpImportTests.test_testmultiphase_exec_multiple": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_import.SubinterpImportTests.test_testmultiphase_exec_multiple", "fixture_taint_checked": true, "fixture_taint_note": "AttributeError pre-state (method new at merge)" }, "test.test_import.ModexportTests.test_from_modexport": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_import.ModexportTests.test_from_modexport", "fixture_taint_checked": true, "fixture_taint_note": "ImportError / load_failed: ModuleNotFoundError pre-state (class doesn't exist at base)" }, "test.test_import.ModexportTests.test_from_modexport_null": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_import.ModexportTests.test_from_modexport_null", "fixture_taint_checked": true, "fixture_taint_note": "ImportError / load_failed: ModuleNotFoundError pre-state (class doesn't exist at base)" }, "test.test_import.ModexportTests.test_from_modexport_exception": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_import.ModexportTests.test_from_modexport_exception", "fixture_taint_checked": true, "fixture_taint_note": "ImportError / load_failed: ModuleNotFoundError pre-state (class doesn't exist at base)" }, "test.test_import.ModexportTests.test_from_modexport_create_nonmodule": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_import.ModexportTests.test_from_modexport_create_nonmodule", "fixture_taint_checked": true, "fixture_taint_note": "ImportError / load_failed: ModuleNotFoundError pre-state (class doesn't exist at base)" }, "test.test_import.ModexportTests.test_from_modexport_smoke": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_import.ModexportTests.test_from_modexport_smoke", "fixture_taint_checked": true, "fixture_taint_note": "ImportError / load_failed: ModuleNotFoundError pre-state (class doesn't exist at base)" }, "test.test_import.ModexportTests.test_from_modexport_smoke_token": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_import.ModexportTests.test_from_modexport_smoke_token", "fixture_taint_checked": true, "fixture_taint_note": "ImportError / load_failed: ModuleNotFoundError pre-state (class doesn't exist at base)" }, "test.test_import.ModexportTests.test_from_modexport_empty_slots": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_import.ModexportTests.test_from_modexport_empty_slots", "fixture_taint_checked": true, "fixture_taint_note": "ImportError / load_failed: ModuleNotFoundError pre-state (class doesn't exist at base)" }, "test.test_capi.test_type.TypeTests.test_get_module_by_token": { "system_reason": "New test from PR exercising PEP-793 PyModExport / PyModule_FromSlotsAndSpec public C-API.", "public_surface": "PyMod_ C-API, PyModule_FromSlotsAndSpec, PyModExport hook, PyModule_GetToken / PyType_GetModuleByToken", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_type.TypeTests.test_get_module_by_token", "fixture_taint_checked": true, "fixture_taint_note": "AttributeError pre-state (method new at merge)" } }, "pass_to_pass": { "test.test_capi.test_abstract.CAPITest.test_object_str": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_str", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_repr": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_repr", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_ascii": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_ascii", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_bytes": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_bytes", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_getattr": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_getattr", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_getattrstring": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_getattrstring", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_getoptionalattr": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_getoptionalattr", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_getoptionalattrstring": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_getoptionalattrstring", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_hasattr": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_hasattr", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_hasattrstring": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_hasattrstring", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_hasattrwitherror": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_hasattrwitherror", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_hasattrstringwitherror": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_hasattrstringwitherror", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_setattr": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_setattr", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_setattrstring": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_setattrstring", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_delattr": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_delattr", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_delattrstring": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_delattrstring", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_mapping_check": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_mapping_check", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_mapping_size": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_mapping_size", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_getitem": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_getitem", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_mapping_getitemstring": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_mapping_getitemstring", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_mapping_getoptionalitem": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_mapping_getoptionalitem", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_mapping_getoptionalitemstring": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_mapping_getoptionalitemstring", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_mapping_haskey": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_mapping_haskey", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_mapping_haskeystring": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_mapping_haskeystring", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_mapping_haskeywitherror": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_mapping_haskeywitherror", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_mapping_haskeystringwitherror": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_mapping_haskeystringwitherror", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_setitem": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_setitem", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_mapping_setitemstring": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_mapping_setitemstring", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_delitem": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_delitem", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_mapping_delitemstring": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_mapping_delitemstring", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_mapping_keys_valuesitems": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_mapping_keys_valuesitems", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_mapping_keys_valuesitems_bad_arg": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_mapping_keys_valuesitems_bad_arg", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_sequence_check": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_sequence_check", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_sequence_size": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_sequence_size", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_sequence_getitem": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_sequence_getitem", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_sequence_concat": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_sequence_concat", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_sequence_repeat": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_sequence_repeat", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_sequence_inplaceconcat": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_sequence_inplaceconcat", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_sequence_inplacerepeat": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_sequence_inplacerepeat", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_sequence_setitem": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_sequence_setitem", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_sequence_delitem": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_sequence_delitem", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_sequence_setslice": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_sequence_setslice", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_sequence_delslice": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_sequence_delslice", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_sequence_count": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_sequence_count", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_sequence_contains": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_sequence_contains", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_sequence_index": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_sequence_index", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_sequence_list": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_sequence_list", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_sequence_tuple": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_sequence_tuple", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_sequence_fast": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_sequence_fast", "fixture_taint_checked": true }, "test.test_capi.test_abstract.CAPITest.test_object_generichash": { "system_reason": "Pre-existing test in test_capi sibling (unmodified by this PR). Neighbor P2P per plan \u00a76.3.", "public_surface": "Public CPython C-API exercised through Python via _testcapi (sibling test files of test_module.py / test_type.py)", "internal_symbol_check": [], "uses_allowlisted_private": [], "runner_surface": "./python -m unittest -v test.test_capi.test_abstract.CAPITest.test_object_generichash", "fixture_taint_checked": true } } }, "augmented": { "eval_tests_aug_patch_sha256": "1e13332bfac99f9ab5b30b41105f1df2fa29885778d55853683dc166c98fd6f5", "f2p_aug_sha256": "b7374aa780a66ee8fe235b0f36b8853d264bc98e0e7caedae782670c3bb1f7b4", "p2p_aug_sha256": "5843aaf0a42e22571b97bbf1b76336866c86bc238343f8faea6bba4fd9cd4e01", "fail_to_pass": [ "test.test_cext.TestPublicCAPI.test_build_c11", "test.test_cext.TestInteralCAPI.test_build", "test.test_pep793_aug.PyModExportAugmentedTests.test_nonascii_modexport_uses_u_prefix", "test.test_pep793_aug.PyModExportAugmentedTests.test_slots_create_nonmodule_rejects_token", "test.test_pep793_aug.PyModExportAugmentedTests.test_zero_size_state_marks_slots_module_initialized", "test.test_pep793_aug.PyModExportAugmentedTests.test_type_getmodulebytoken_returns_strong_reference" ], "pass_to_pass": [ "test.test_capi.test_abstract.CAPITest.test_object_str", "test.test_capi.test_abstract.CAPITest.test_object_repr" ], "triage": { "test_level_policy": "Augmented F2P tests build and import regular CPython C extensions through public test harnesses and public C-API probes. They exercise the PyMODEXPORT_FUNC macro, Py_mod_token slot id, PyModExport/PyInit hook preference, non-ASCII PyModExportU lookup, token rejection for non-module create results, zero-size state initialization markers, and PyType_GetModuleByToken ownership. Augmented P2P tests use pre-existing public _testcapi object operations outside the PyModExport/module-slot surface.", "fail_to_pass": { "test.test_cext.TestPublicCAPI.test_build_c11": { "requirement_sections": [ "Specification > The export hook", "Specification > Tokens" ], "public_surface": "A C11 extension built with PyMODEXPORT_FUNC, Py_mod_token, and both PyModExport_* and PyInit_* hooks.", "mutants_targeted": [ "mutant_001_export_macro_returns_pyobject", "mutant_005_lookup_init_before_export", "mutant_019_pymod_token_constant_out_of_range" ], "rationale": "The export-hook specification requires PyMODEXPORT_FUNC to declare a slots-array hook, and import must prefer PyModExport_* over the legacy PyInit_* hook. The same extension import also verifies that the public Py_mod_token id remains 13." }, "test.test_cext.TestInteralCAPI.test_build": { "requirement_sections": [ "Specification > The export hook", "Specification > New slots" ], "public_surface": "The test_cext internal-C-API build path importing a PyModExport-backed extension.", "mutants_targeted": [ "mutant_002_modexport_typedef_returns_pyobject", "mutant_020_last_slot_not_updated_for_new_slots" ], "rationale": "The internal build variant can include pycore_importdl.h and therefore checks that PyModExportFunction has the slots-array signature and that the internal last-slot bound includes the new Py_mod_token slot." }, "test.test_pep793_aug.PyModExportAugmentedTests.test_nonascii_modexport_uses_u_prefix": { "requirement_sections": [ "Specification > The export hook" ], "public_surface": "Importing a non-ASCII-named extension module that exposes only a PyModExportU_* hook.", "mutants_targeted": [ "mutant_004_nonascii_export_prefix_loses_u_variant" ], "rationale": "PEP 793 extends extension-module export lookup to PyModExport hooks; non-ASCII module names must use the U-prefixed encoded hook name, not the ASCII-only PyModExport prefix." }, "test.test_pep793_aug.PyModExportAugmentedTests.test_slots_create_nonmodule_rejects_token": { "requirement_sections": [ "Specification > Tokens", "Specification > New slots" ], "public_surface": "PyModule_FromSlotsAndSpec with Py_mod_create returning a non-module object and Py_mod_token set.", "mutants_targeted": [ "mutant_012_token_allowed_for_non_module_result" ], "rationale": "Tokens attach only to ModuleType instances; a create slot that returns a non-module result must be rejected when a Py_mod_token slot is present." }, "test.test_pep793_aug.PyModExportAugmentedTests.test_zero_size_state_marks_slots_module_initialized": { "requirement_sections": [ "Specification > New slots" ], "public_surface": "A PyModExport-created extension module with default zero state size and a Py_mod_exec slot, re-executed through _imp.exec_dynamic.", "mutants_targeted": [ "mutant_014_zero_state_size_not_allocated_as_marker" ], "rationale": "A zero-sized module state still acts as the initialized-state marker for import machinery, so repeated _imp.exec_dynamic must not rerun the saved exec slot." }, "test.test_pep793_aug.PyModExportAugmentedTests.test_type_getmodulebytoken_returns_strong_reference": { "requirement_sections": [ "Specification > Tokens" ], "public_surface": "PyType_GetModuleByToken through the _testcapi public C-API test hook.", "mutants_targeted": [ "mutant_018_type_getmodulebytoken_returns_borrowed_reference" ], "rationale": "PyType_GetModuleByToken returns a new strong reference, matching the public ownership contract for returned PyObject pointers." } }, "pass_to_pass": { "test.test_capi.test_abstract.CAPITest.test_object_str": { "requirement_sections": [ "Backwards Compatibility" ], "public_surface": "PyObject_Str behavior exposed by the existing _testcapi abstract-object tests.", "rationale": "PEP 793 changes extension-module creation and token lookup, not generic object string conversion." }, "test.test_capi.test_abstract.CAPITest.test_object_repr": { "requirement_sections": [ "Backwards Compatibility" ], "public_surface": "PyObject_Repr behavior exposed by the existing _testcapi abstract-object tests.", "rationale": "This guards unrelated object representation behavior against collateral regressions from module/type C-API changes." } } } }, "out_of_scope_surfaces": [], "public_surface_allowlist": [], "build_environment": { "base_image": "lolbench/cpython-base:1", "configure_flags": "--prefix=/usr/local --enable-optimizations=no", "make_target": "(default)", "runtime_caps": "--network=none" }, "validated_at": null, "pr_url": "https://github.com/python/cpython/pull/140556", "pep": "PEP 793", "pep_title": "PyModExport: A new entry point for C extension modules", "pep_url": "https://peps.python.org/pep-0793/", "pr_head_sha": "4d58846e632a08a17de99029783fb483f73bfe06", "integration_commit_sha": "589a03a8ce60cc65f91930f7d63367b03cfbbb12", "diff_source": "git diff --no-renames base..merge (squash-merge parent equals CSV base_commit)", "repo": "python/cpython", "image": "lolbench/cpython-pr-140556:1", "agent_contract": { "input": "/in/solution.patch", "output": "/out/agent_report.json", "invocation": "docker run --rm -v $(pwd)/solution.patch:/in/solution.patch:ro -v $(pwd)/out:/out lolbench/cpython-pr-140556:1" }, "test_framework": "cpython_regrtest", "test_cmd_template": "python -m test ", "log_parser": "python_unittest", "validation_summary": { "status": "not_recorded", "note": "No detailed validation metadata was present before the 2026-06-10 completeness normalization." }, "coverage": { "orig": 84.2, "aug": 35.8, "union": 84.2, "denominator": "union_executable_lines" } }