cpython/Modules/_testinternalcapi
Neil Schemenauer 9626ef87f4
gh-152238: Revert gh-150490 and gh-152200. (gh-152232)
Revert commits:
    gh-151593: Fix dead lock in PyDict insert_split_key() (#152200)
    gh-150490: Raise PyType_Modified for insertion into split dictionary (#150489)

For gh-150489, it violates locking discipline and results in deadlocks,
gh-151593 is an example of it being hit in CI.  The attempted fix 
gh-152200 avoids the deadlock but introduces a data-race.  The race
window is small but can be triggered with pure Python code.
2026-06-26 11:20:41 -07:00
..
clinic gh-145230: Update lockbench (gh-145231) 2026-02-27 14:09:05 -05:00
complex.c gh-128813: hide mixed-mode functions for complex arithmetic from C-API (#131703) 2025-04-22 14:18:18 +02:00
interpreter.c GH-150516: Reduce the work done to spill and reload the stack around calls (GH-151587) 2026-06-18 15:14:30 +01:00
parts.h GH-145247: Implement _PyTuple_FromPair() (#145325) 2026-03-10 11:44:20 +01:00
pytime.c Remove internal _PyTime_AsLong() function (#141053) 2025-11-05 18:37:06 +01:00
README.txt gh-108777: Split _PyTime tests from _testinternalcapi.c (gh-108787) 2023-09-02 00:46:36 +00:00
set.c gh-112069: Add _PySet_NextEntryRef to be thread-safe. (gh-117990) 2024-04-19 00:18:22 +09:00
test_cases.c.h gh-152238: Revert gh-150490 and gh-152200. (gh-152232) 2026-06-26 11:20:41 -07:00
test_critical_sections.c gh-144513: Skip critical section locking during stop-the-world (gh-144524) 2026-02-06 15:14:08 +00:00
test_lock.c gh-145230: Update lockbench (gh-145231) 2026-02-27 14:09:05 -05:00
test_targets.h GH-143732: SEND specialization (GH-148963) 2026-05-05 15:19:16 +01:00
testbytecodes.c gh-142913: Add test case for interpreter generator w/ overridden opcodes (#142911) 2026-01-16 10:33:29 -08:00
tuple.c GH-145247: Implement _PyTuple_FromPair() (#145325) 2026-03-10 11:44:20 +01:00

Tests in this directory are compiled into the _testinternalcapi extension.
The main file for the extension is Modules/_testinternalcapimodule.c, which
calls `_PyTestInternalCapi_Init_*` from these functions.

See Modules/_testcapi/README.txt for guideline when writing C test code.