]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-116749: Fix code comment for _PyConfig_GIL_DEFAULT (gh-141804) (gh-141911)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 24 Nov 2025 16:10:59 +0000 (17:10 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Nov 2025 16:10:59 +0000 (16:10 +0000)
(cherry picked from commit c490ffb7ac43e7132f866103cefd872afa067a6a)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Include/internal/pycore_initconfig.h

index 368dafb90635d7bb7664efd2229b8fd5ac6df148..183b2d45c5ede1c569f333eb15a76f0498268da8 100644 (file)
@@ -153,10 +153,8 @@ typedef enum {
 } _PyConfigInitEnum;
 
 typedef enum {
-    /* For now, this means the GIL is enabled.
-
-       gh-116329: This will eventually change to "the GIL is disabled but can
-       be re-enabled by loading an incompatible extension module." */
+    /* In free threaded builds, this means that the GIL is disabled at startup,
+       but may be enabled by loading an incompatible extension module. */
     _PyConfig_GIL_DEFAULT = -1,
 
     /* The GIL has been forced off or on, and will not be affected by module loading. */