summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 423aae1..39d7327 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1398,6 +1398,8 @@ Py_SymtableString(const char *str, const char *filename, int start)
if (arena == NULL)
return NULL;
+ flags.cf_flags = 0;
+
mod = PyParser_ASTFromString(str, filename, start, &flags, arena);
if (mod == NULL) {
PyArena_Free(arena);