Skip to content

Commit c490ffb

Browse files
authored
gh-116749: Fix code comment for _PyConfig_GIL_DEFAULT (gh-141804)
1 parent b484c32 commit c490ffb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎Include/internal/pycore_initconfig.h‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,8 @@ typedef enum {
153153
} _PyConfigInitEnum;
154154

155155
typedef enum {
156-
/* For now, this means the GIL is enabled.
157-
158-
gh-116329: This will eventually change to "the GIL is disabled but can
159-
be re-enabled by loading an incompatible extension module." */
156+
/* In free threaded builds, this means that the GIL is disabled at startup,
157+
but may be enabled by loading an incompatible extension module. */
160158
_PyConfig_GIL_DEFAULT = -1,
161159

162160
/* The GIL has been forced off or on, and will not be affected by module loading. */

0 commit comments

Comments
 (0)