diff options
author | Petr Viktorin <encukou@gmail.com> | 2024-05-06 16:59:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-06 16:59:36 (GMT) |
commit | 417dd3aca7bb910691d34e54fee108d7bbc627d3 (patch) | |
tree | bf7abb2482714929fc26276e231911862f687d1f /Misc | |
parent | 3ed3bc379a0c4ce7a107dd4bc276554fbb477998 (diff) | |
download | cpython-417dd3aca7bb910691d34e54fee108d7bbc627d3.zip cpython-417dd3aca7bb910691d34e54fee108d7bbc627d3.tar.gz cpython-417dd3aca7bb910691d34e54fee108d7bbc627d3.tar.bz2 |
gh-116322: Rename PyModule_ExperimentalSetGIL to PyUnstable_Module_SetGIL (GH-118645)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2024-03-12-13-51-09.gh-issue-116322.q8TcDQ.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2024-03-12-13-51-09.gh-issue-116322.q8TcDQ.rst b/Misc/NEWS.d/next/Core and Builtins/2024-03-12-13-51-09.gh-issue-116322.q8TcDQ.rst index 2d3bf41..1f718a2 100644 --- a/Misc/NEWS.d/next/Core and Builtins/2024-03-12-13-51-09.gh-issue-116322.q8TcDQ.rst +++ b/Misc/NEWS.d/next/Core and Builtins/2024-03-12-13-51-09.gh-issue-116322.q8TcDQ.rst @@ -1,5 +1,5 @@ Extension modules may indicate to the runtime that they can run without the GIL. Multi-phase init modules do so by calling providing ``Py_MOD_GIL_NOT_USED`` for the ``Py_mod_gil`` slot, while single-phase init -modules call ``PyModule_ExperimentalSetGIL(mod, Py_MOD_GIL_NOT_USED)`` from +modules call ``PyUnstable_Module_SetGIL(mod, Py_MOD_GIL_NOT_USED)`` from their init function. |