summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_runtime_init.h
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-12-16 13:48:03 (GMT)
committerGitHub <noreply@github.com>2022-12-16 13:48:03 (GMT)
commit0415cf895f96ae3f896f1f25f0c030a820845e13 (patch)
tree6f3a5c8d1bc2707a9f74574c3d7be947e593fa26 /Include/internal/pycore_runtime_init.h
parent5ee7eb9debb12914f36c5ccee92460a681516fd6 (diff)
downloadcpython-0415cf895f96ae3f896f1f25f0c030a820845e13.zip
cpython-0415cf895f96ae3f896f1f25f0c030a820845e13.tar.gz
cpython-0415cf895f96ae3f896f1f25f0c030a820845e13.tar.bz2
gh-81057: Move the Cached Parser Dummy Name to _PyRuntimeState (#100277)
Diffstat (limited to 'Include/internal/pycore_runtime_init.h')
-rw-r--r--Include/internal/pycore_runtime_init.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/internal/pycore_runtime_init.h b/Include/internal/pycore_runtime_init.h
index 6342a28..cb3fce3 100644
--- a/Include/internal/pycore_runtime_init.h
+++ b/Include/internal/pycore_runtime_init.h
@@ -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, \