summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-03-26 22:51:58 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-03-26 22:51:58 (GMT)
commit7f23d86107dfea69992322577c5033f2edbc3b4f (patch)
treee03be6c57d145050c063a147451c61e5fe6cc36f /Python/import.c
parent342212c52afd375d93f44f3ecda0914d77372f26 (diff)
downloadcpython-7f23d86107dfea69992322577c5033f2edbc3b4f.zip
cpython-7f23d86107dfea69992322577c5033f2edbc3b4f.tar.gz
cpython-7f23d86107dfea69992322577c5033f2edbc3b4f.tar.bz2
Initialize PyCompilerFlags cf_flags with 0
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/import.c b/Python/import.c
index 95cd20d..b65ed0e 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -823,6 +823,8 @@ parse_source_module(const char *pathname, FILE *fp)
if (arena == NULL)
return NULL;
+ flags.cf_flags = 0;
+
mod = PyParser_ASTFromFile(fp, pathname, Py_file_input, 0, 0, &flags,
NULL, arena);
if (mod) {