mirror of
https://github.com/python/cpython.git
synced 2025-09-12 11:46:52 +00:00
Initialize PyCompilerFlags cf_flags with 0
This commit is contained in:
parent
342212c52a
commit
7f23d86107
2 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue