File size: 62,778 Bytes
a4edccc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 | {
"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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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_<slot> 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 <test_selector>",
"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"
}
}
|