mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Merge remote-tracking branch 'upstream/main' into lazy
This commit is contained in:
commit
db151a5192
869 changed files with 45727 additions and 16994 deletions
|
|
@ -3199,7 +3199,7 @@ symtable_raise_if_not_coroutine(struct symtable *st, const char *msg, _Py_Source
|
|||
|
||||
struct symtable *
|
||||
_Py_SymtableStringObjectFlags(const char *str, PyObject *filename,
|
||||
int start, PyCompilerFlags *flags)
|
||||
int start, PyCompilerFlags *flags, PyObject *module)
|
||||
{
|
||||
struct symtable *st;
|
||||
mod_ty mod;
|
||||
|
|
@ -3209,7 +3209,7 @@ _Py_SymtableStringObjectFlags(const char *str, PyObject *filename,
|
|||
if (arena == NULL)
|
||||
return NULL;
|
||||
|
||||
mod = _PyParser_ASTFromString(str, filename, start, flags, arena);
|
||||
mod = _PyParser_ASTFromString(str, filename, start, flags, arena, module);
|
||||
if (mod == NULL) {
|
||||
_PyArena_Free(arena);
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue