We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pyruntimestate->pyinterpreters
next_id
1 parent dfc73b5 commit a3e2f05Copy full SHA for a3e2f05
Include/internal/pycore_runtime.h
@@ -93,8 +93,8 @@ typedef struct pyruntimestate {
93
in the operation of the runtime. It is also often the only
94
interpreter. */
95
PyInterpreterState *main;
96
- /* _next_interp_id is an auto-numbered sequence of small
97
- integers. It gets initialized in _PyInterpreterState_Init(),
+ /* next_id is an auto-numbered sequence of small
+ integers. It gets initialized in _PyInterpreterState_Enable(),
98
which is called in Py_Initialize(), and used in
99
PyInterpreterState_New(). A negative interpreter ID
100
indicates an error occurred. The main interpreter will
0 commit comments