mirror of
https://github.com/python/cpython.git
synced 2026-05-18 18:33:57 -04:00
Initialize PyCompilerFlags cf_flags with 0
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user