mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-116749: Fix code comment for _PyConfig_GIL_DEFAULT (gh-141804)
This commit is contained in:
parent
b484c32d0a
commit
c490ffb7ac
1 changed files with 2 additions and 4 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue