summaryrefslogtreecommitdiffstats
path: root/Modules/_testexternalinspection.c
Commit message (Collapse)AuthorAgeFilesLines
* bpo-115773: Use the right variable name based on the field we are trying ↵Abhinav Upadhyay2024-05-071-2/+2
| | | | | read (#118591) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* gh-116322: Rename PyModule_ExperimentalSetGIL to PyUnstable_Module_SetGIL ↵Petr Viktorin2024-05-061-1/+1
| | | | (GH-118645)
* gh-116322: Add Py_mod_gil module slot (#116882)Brett Simmers2024-05-031-0/+6
| | | | | | | | | | | | | | This PR adds the ability to enable the GIL if it was disabled at interpreter startup, and modifies the multi-phase module initialization path to enable the GIL when loading a module, unless that module's spec includes a slot indicating it can run safely without the GIL. PEP 703 called the constant for the slot `Py_mod_gil_not_used`; I went with `Py_MOD_GIL_NOT_USED` for consistency with gh-104148. A warning will be issued up to once per interpreter for the first GIL-using module that is loaded. If `-v` is given, a shorter message will be printed to stderr every time a GIL-using module is loaded (including the first one that issues a warning).
* gh-114099: Modify preprocessor symbol usage to support older macOS SDKs ↵Russell Keith-Magee2024-04-191-0/+4
| | | | | (GH-118073) Co-authored-by: Joshua Root jmr@macports.org
* gh-114099 - Add iOS testbed, plus Makefile target to invoke it. (gh-115930)Russell Keith-Magee2024-03-071-4/+7
|
* gh-115773: Add missing preprocessor guard in _testexternalinspection (#116212)Malcolm Smith2024-03-011-1/+1
| | | Add missing preprocessor guard in _testexternalinspection
* gh-115773: Add tests to exercise the _Py_DebugOffsets structure (#115774)Pablo Galindo Salgado2024-02-281-0/+629