https://github.com/python/cpython/commit/c490ffb7ac43e7132f866103cefd872afa067a6a
commit: c490ffb7ac43e7132f866103cefd872afa067a6a
branch: main
author: Sam Gross <[email protected]>
committer: colesbury <[email protected]>
date: 2025-11-24T10:42:00-05:00
summary:
gh-116749: Fix code comment for _PyConfig_GIL_DEFAULT (gh-141804)
files:
M Include/internal/pycore_initconfig.h
diff --git a/Include/internal/pycore_initconfig.h
b/Include/internal/pycore_initconfig.h
index 368dafb90635d7..183b2d45c5ede1 100644
--- a/Include/internal/pycore_initconfig.h
+++ b/Include/internal/pycore_initconfig.h
@@ -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. */
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]