diff options
Diffstat (limited to 'Python')
| -rw-r--r-- | Python/import.c | 1 | ||||
| -rw-r--r-- | Python/pythonrun.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Python/import.c b/Python/import.c index 33cb81c..5b96cea 100644 --- a/Python/import.c +++ b/Python/import.c @@ -826,6 +826,7 @@ parse_source_module(const char *pathname, FILE *fp) if (arena == NULL) return NULL; + flags.cf_flags = 0; mod = PyParser_ASTFromFile(fp, pathname, NULL, Py_file_input, 0, 0, &flags, NULL, arena); diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 5c17b69..08091b7 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -1568,6 +1568,7 @@ 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); |
