Kaydet (Commit) ff1f8521 authored tarafından Tim Peters's avatar Tim Peters

st_nested_scopes was uninitialized trash. Jeremy should fix in a better

way; see code comments.
üst 1cf0f175
......@@ -4595,6 +4595,12 @@ symtable_init()
if (st == NULL)
return NULL;
st->st_pass = 1;
/* XXX Tim: Jeremy deleted the next line and everything went to hell.
XXX It should probably get fixed by getting rid of st_nested_scopes
XXX entirely. */
st->st_nested_scopes = 1;
st->st_filename = NULL;
if ((st->st_stack = PyList_New(0)) == NULL)
goto fail;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment