]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-116749: Fix code comment for _PyConfig_GIL_DEFAULT (gh-141804)
authorSam Gross <colesbury@gmail.com>
Mon, 24 Nov 2025 15:42:00 +0000 (10:42 -0500)
committerGitHub <noreply@github.com>
Mon, 24 Nov 2025 15:42:00 +0000 (10:42 -0500)
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. */