cpython/Misc/NEWS.d/next
Brett Simmers c2627d6eea
gh-116322: Add Py_mod_gil module slot (#116882)
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).
2024-05-03 11:30:55 -04:00
..
Build gh-116622: Add Android testbed (GH-117878) 2024-05-01 08:36:45 +02:00
C API gh-110850: Add PyTime_TimeRaw() function (#118394) 2024-05-01 18:05:01 +00:00
Core and Builtins gh-116322: Add Py_mod_gil module slot (#116882) 2024-05-03 11:30:55 -04:00
Documentation gh-117928: Bump the minimum Sphinx version to 6.2.1 (#117853) 2024-04-26 13:10:16 +03:00
IDLE Python 3.13.0a5 2024-03-12 21:11:08 +01:00
Library gh-101732: Modules/_ssl.c: use Y2038 compatible openssl function when available (GH-118425) 2024-05-03 15:34:05 +02:00
Security gh-116741: Upgrade libexpat to 2.6.2 (#117296) 2024-04-22 18:15:08 -07:00
Tests Python 3.13.0a6 2024-04-09 11:56:22 +02:00
Tools-Demos Python 3.13.0a5 2024-03-12 21:11:08 +01:00
Windows gh-118486: Support mkdir(mode=0o700) on Windows (GH-118488) 2024-05-02 15:20:43 +01:00
macOS gh-91629 Use conf.d configs and fish_add_path to set the PATH when installing for the Fish shell. (GH-91630) 2024-04-21 02:52:58 -04:00