mirror of
https://github.com/python/cpython.git
synced 2026-01-27 05:05:50 +00:00
gh-114203: skip locking if object is already locked by two-mutex critical section (GH-141476) (cherry picked from commit f26ed455d5582a7d66618acf2a93bc4b22a84b47) Co-authored-by: Kumar Aditya <kumaraditya@python.org>
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.