mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
gh-81057: Move the Cached Parser Dummy Name to _PyRuntimeState (#100277)
This commit is contained in:
parent
5ee7eb9deb
commit
0415cf895f
4 changed files with 20 additions and 25 deletions
|
@ -9,6 +9,7 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
#include "pycore_object.h"
|
||||
#include "pycore_parser.h"
|
||||
#include "pycore_pymem_init.h"
|
||||
#include "pycore_obmalloc_init.h"
|
||||
|
||||
|
@ -32,6 +33,7 @@ extern "C" {
|
|||
until _PyInterpreterState_Enable() is called. */ \
|
||||
.next_id = -1, \
|
||||
}, \
|
||||
.parser = _parser_runtime_state_INIT, \
|
||||
.imports = { \
|
||||
.lock = { \
|
||||
.mutex = NULL, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue