diff options
author | Christian Heimes <christian@cheimes.de> | 2008-03-26 23:24:27 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-03-26 23:24:27 +0000 |
commit | d50279a5881b5f3bcc32a0b95c67a1e08543d459 (patch) | |
tree | b74419abf2276b2054a2b1912052028e41092c04 /Python/pythonrun.c | |
parent | 738a1fcdbf99d66cbb07f19fce673b1c0fb941db (diff) | |
download | cpython-d50279a5881b5f3bcc32a0b95c67a1e08543d459.tar.gz |
Merged revisions 61954,61956-61957 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r61954 | christian.heimes | 2008-03-26 23:20:26 +0100 (Wed, 26 Mar 2008) | 1 line
Surround p_flags access with #ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD
........
r61956 | christian.heimes | 2008-03-26 23:51:58 +0100 (Wed, 26 Mar 2008) | 1 line
Initialize PyCompilerFlags cf_flags with 0
........
r61957 | christian.heimes | 2008-03-26 23:55:31 +0100 (Wed, 26 Mar 2008) | 1 line
I forgot to svn add the future test
........
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 5c17b69578..08091b7939 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); |