cpython/Misc/NEWS.d
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
..
next gh-116322: Add Py_mod_gil module slot (#116882) 2024-05-03 11:30:55 -04:00
3.5.0.rst
3.5.0a1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.5.0a2.rst
3.5.0a3.rst
3.5.0a4.rst
3.5.0b1.rst
3.5.0b2.rst
3.5.0b3.rst
3.5.0b4.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.5.0rc1.rst gh-109634: Use :samp: role (GH-109635) 2023-09-23 09:31:20 +03:00
3.5.0rc2.rst
3.5.0rc3.rst
3.5.0rc4.rst
3.5.1.rst
3.5.1rc1.rst gh-109634: Use :samp: role (GH-109635) 2023-09-23 09:31:20 +03:00
3.5.2.rst
3.5.2rc1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.5.3.rst Add missing sections to blurbs (#114553) 2024-02-12 16:16:16 +02:00
3.5.3rc1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.5.4.rst Docs: Update Donghee Na's name (#109743) 2023-09-22 12:52:57 -06:00
3.5.4rc1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.5.5.rst
3.5.5rc1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.6.0.rst Add missing sections to blurbs (#114553) 2024-02-12 16:16:16 +02:00
3.6.0a1.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.6.0a2.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.6.0a3.rst
3.6.0a4.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.6.0b1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.6.0b2.rst
3.6.0b3.rst
3.6.0b4.rst
3.6.0rc1.rst gh-106909: Use role :const: for referencing module constants (GH-106910) 2023-07-21 12:40:37 +03:00
3.6.0rc2.rst
3.6.1.rst
3.6.1rc1.rst
3.6.2.rst Add missing sections to blurbs (#114553) 2024-02-12 16:16:16 +02:00
3.6.2rc1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.6.2rc2.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.6.3.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.6.3rc1.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.6.4.rst
3.6.4rc1.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.6.5.rst
3.6.5rc1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.6.6.rst
3.6.6rc1.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.7.0.rst
3.7.0a1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.7.0a2.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.7.0a3.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.7.0a4.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.7.0b1.rst
3.7.0b2.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.7.0b3.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.7.0b4.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.7.0b5.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.7.0rc1.rst
3.8.0a1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.8.0a2.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.8.0a3.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.8.0a4.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.8.0b1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.9.0a1.rst gh-101100: Fix Sphinx warnings in `whatsnew/3.9.rst` (#118364) 2024-04-28 20:31:22 +03:00
3.9.0a2.rst gh-101100: Fix Sphinx warnings in `whatsnew/3.9.rst` (#118364) 2024-04-28 20:31:22 +03:00
3.9.0a3.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.9.0a4.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.9.0a5.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.9.0a6.rst gh-101100: Fix Sphinx warnings in `whatsnew/3.9.rst` (#118364) 2024-04-28 20:31:22 +03:00
3.9.0b1.rst gh-101100: Fix Sphinx warnings in `howto/urllib2.rst` and `library/http.client.rst` (#114060) 2024-01-14 20:38:53 +00:00
3.10.0a1.rst gh-101100: Fix Sphinx warnings in `whatsnew/3.9.rst` (#118364) 2024-04-28 20:31:22 +03:00
3.10.0a2.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.10.0a3.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.10.0a4.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.10.0a5.rst gh-106948: Add standard external names to nitpick_ignore (GH-106949) 2023-07-22 21:35:22 +03:00
3.10.0a6.rst Docs: mark up NotImplemented using the :data: role throughout the docs (#116135) 2024-02-29 20:46:12 +00:00
3.10.0a7.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.10.0b1.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.11.0a1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.11.0a2.rst gh-101100: Fix Sphinx warnings in `whatsnew/3.11.rst` and related (#114531) 2024-01-27 06:06:59 -07:00
3.11.0a3.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.11.0a4.rst gh-101100: Fix Sphinx warnings in `whatsnew/3.9.rst` (#118364) 2024-04-28 20:31:22 +03:00
3.11.0a5.rst gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946) 2024-01-13 00:25:04 +02:00
3.11.0a6.rst gh-101100: Fix Sphinx warnings in `whatsnew/3.11.rst` and related (#114531) 2024-01-27 06:06:59 -07:00
3.11.0a7.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.11.0b1.rst gh-101100: Fix Sphinx warnings in `whatsnew/3.11.rst` and related (#114531) 2024-01-27 06:06:59 -07:00
3.12.0a1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.12.0a2.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.12.0a3.rst gh-109634: Use :samp: role (GH-109635) 2023-09-23 09:31:20 +03:00
3.12.0a4.rst gh-101100: Fix Sphinx warnings in `whatsnew/3.11.rst` and related (#114531) 2024-01-27 06:06:59 -07:00
3.12.0a5.rst Docs: Update Donghee Na's name (#109743) 2023-09-22 12:52:57 -06:00
3.12.0a6.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.12.0a7.rst gh-101100: Fix Sphinx warnings in `whatsnew/3.11.rst` and related (#114531) 2024-01-27 06:06:59 -07:00
3.12.0b1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.13.0a1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.13.0a2.rst gh-114364: Fix awkward wording about mmap.mmap.seekable (#114374) 2024-02-01 06:03:58 +00:00
3.13.0a3.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.13.0a4.rst Python 3.13.0a4 2024-02-15 14:38:42 +01:00
3.13.0a5.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.13.0a6.rst gh-117686: Improve the performance of ntpath.expanduser() (#117690) 2024-04-10 10:28:48 +02:00