From 1c43a5aa3b36b86674c203179c70d661a0f3e8a1 Mon Sep 17 00:00:00 2001 From: Sam Gross Date: Mon, 21 Aug 2023 11:37:28 -0700 Subject: [PATCH 1/4] gh-108223: Document --disable-gil flag in configure --- Doc/using/configure.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index f4adea82a87c38..047926352237e1 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -185,6 +185,13 @@ General Options .. versionadded:: 3.11 +.. cmdoption:: --disable-gil + + Enables experimental support for running Python without the global + interpreter lock (GIL). + + .. versionadded:: 3.13 + WebAssembly Options ------------------- From 0a8d23af7c6346247c9a9407ed5f59e24c456d37 Mon Sep 17 00:00:00 2001 From: Sam Gross Date: Mon, 21 Aug 2023 14:49:03 -0400 Subject: [PATCH 2/4] Update Doc/using/configure.rst Co-authored-by: Victor Stinner --- Doc/using/configure.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index 047926352237e1..366af74f33ed89 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -187,8 +187,8 @@ General Options .. cmdoption:: --disable-gil - Enables experimental support for running Python without the global - interpreter lock (GIL). + Enables experimental support for running Python without the + :term:`global interpreter lock` (GIL). .. versionadded:: 3.13 From 036157caa52186ace71d2c3c37ab99941cf81a0b Mon Sep 17 00:00:00 2001 From: Sam Gross Date: Mon, 21 Aug 2023 11:50:03 -0700 Subject: [PATCH 3/4] Add link to PEP --- Doc/using/configure.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index 366af74f33ed89..50e5cebcc6d234 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -190,6 +190,8 @@ General Options Enables experimental support for running Python without the :term:`global interpreter lock` (GIL). + See :pep:`703` "Making the Global Interpreter Lock Optional in CPython". + .. versionadded:: 3.13 WebAssembly Options From 72b4900c6081979f9af51274a9146d0c01c38604 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 21 Aug 2023 22:23:46 +0200 Subject: [PATCH 4/4] Update Doc/using/configure.rst --- Doc/using/configure.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index 50e5cebcc6d234..50f60ee54fed14 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -187,7 +187,7 @@ General Options .. cmdoption:: --disable-gil - Enables experimental support for running Python without the + Enables **experimental** support for running Python without the :term:`global interpreter lock` (GIL). See :pep:`703` "Making the Global Interpreter Lock Optional in CPython".