gh-116749: Fix code comment for _PyConfig_GIL_DEFAULT (gh-141804)

This commit is contained in:
Sam Gross 2025-11-24 10:42:00 -05:00 committed by GitHub
parent b484c32d0a
commit c490ffb7ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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. */