From eed24669e4377229c85275bdbb7b0a694f2b025b Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Fri, 6 Sep 2024 06:02:01 -0600 Subject: [PATCH 1/3] Add links to py-free-threading.github.io --- Doc/howto/free-threading-extensions.rst | 6 ++++++ Doc/whatsnew/3.13.rst | 3 +++ 2 files changed, 9 insertions(+) diff --git a/Doc/howto/free-threading-extensions.rst b/Doc/howto/free-threading-extensions.rst index 521810e2887f2f..be2c7be7e75896 100644 --- a/Doc/howto/free-threading-extensions.rst +++ b/Doc/howto/free-threading-extensions.rst @@ -270,3 +270,9 @@ Windows Due to a limitation of the official Windows installer, you will need to manually define ``Py_GIL_DISABLED=1`` when building extensions from source. + +.. seealso:: + + https://py-free-threading.github.io/porting/ + + A community-maintained porting guide for extension authors. diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index 4f418e9bc29f2f..dddd1cd878d40e 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -359,6 +359,9 @@ free-threaded build. :pep:`703` "Making the Global Interpreter Lock Optional in CPython" contains rationale and information surrounding this work. + A community-maintained guide for extension authors: + https://py-free-threading.github.io + .. _whatsnew313-jit-compiler: From 33bd1d82908d2bee32d9b62388f60a7c5bf3b2d1 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Fri, 6 Sep 2024 09:30:00 -0600 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: Victor Stinner --- Doc/howto/free-threading-extensions.rst | 4 ++-- Doc/whatsnew/3.13.rst | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Doc/howto/free-threading-extensions.rst b/Doc/howto/free-threading-extensions.rst index be2c7be7e75896..99e3ab3f52a60d 100644 --- a/Doc/howto/free-threading-extensions.rst +++ b/Doc/howto/free-threading-extensions.rst @@ -273,6 +273,6 @@ manually define ``Py_GIL_DISABLED=1`` when building extensions from source. .. seealso:: - https://py-free-threading.github.io/porting/ - + `Porting Extension Modules to Support Free-Threading + `_: A community-maintained porting guide for extension authors. diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index dddd1cd878d40e..66bebf9fde7a57 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -359,8 +359,9 @@ free-threaded build. :pep:`703` "Making the Global Interpreter Lock Optional in CPython" contains rationale and information surrounding this work. - A community-maintained guide for extension authors: - https://py-free-threading.github.io + See also the `Porting Extension Modules to Support Free-Threading + `_: + A community-maintained porting guide for extension authors. .. _whatsnew313-jit-compiler: From e460051040f997e8d0351049f4fef869bbb75a75 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Fri, 6 Sep 2024 09:53:16 -0600 Subject: [PATCH 3/3] text tweak --- Doc/whatsnew/3.13.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index 66bebf9fde7a57..7075392c14dd5f 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -359,9 +359,9 @@ free-threaded build. :pep:`703` "Making the Global Interpreter Lock Optional in CPython" contains rationale and information surrounding this work. - See also the `Porting Extension Modules to Support Free-Threading - `_: - A community-maintained porting guide for extension authors. + `Porting Extension Modules to Support Free-Threading + `_: A community-maintained + porting guide for extension authors. .. _whatsnew313-jit-compiler: