summaryrefslogtreecommitdiffstats
path: root/Modules/_testimportmultiple.c
Commit message (Collapse)AuthorAgeFilesLines
* gh-116322: Add Py_mod_gil module slot (#116882)Brett Simmers2024-05-031-10/+16
| | | | | | | | | | | | | | 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-108494: Fix Argument Clinic LIMITED_CAPI_REGEX (#116610)Victor Stinner2024-03-111-2/+1
| | | Accept spaces in "# define Py_LIMITED_API 0x030d0000".
* gh-111650: Ensure pyconfig.h includes Py_GIL_DISABLED on Windows (GH-112778)Steve Dower2023-12-131-2/+0
|
* gh-111863: Rename `Py_NOGIL` to `Py_GIL_DISABLED` (#111864)Hugo van Kemenade2023-11-201-2/+2
| | | Rename Py_NOGIL to Py_GIL_DISABLED
* gh-110481: Implement biased reference counting (gh-110764)Sam Gross2023-10-301-0/+6
|
* gh-85283: Build errno and _ctypes_test with limited C API (#110955)Victor Stinner2023-10-171-1/+1
| | | _testimportmultiple is now built with limited C API version 3.2.
* gh-85283: Build _testimportmultiple with limited C API (#110954)Victor Stinner2023-10-171-2/+4
|
* Remove compile warnings for _testimportmoduleAndrew Svetlov2012-12-151-3/+3
|
* Rename test module names for #16421 to don't clash with other tests.Andrew Svetlov2012-12-151-6/+6
|
* Issue #16421: allow to load multiple modules from the same shared object.Andrew Svetlov2012-12-141-0/+57
Patch by Václav Šmilauer.