Kaydet (Commit) 26962753 authored tarafından Jeremy Hylton's avatar Jeremy Hylton

Add check for PyDict_Update() error.

üst 88f1c042
......@@ -702,7 +702,8 @@ analyze_block(PySTEntryObject *ste, PyObject *bound, PyObject *free,
ste->ste_child_free = 1;
}
PyDict_Update(newfree, allfree);
if (PyDict_Update(newfree, allfree) < 0)
goto error;
if (ste->ste_type == FunctionBlock && !analyze_cells(scope, newfree))
goto error;
if (!update_symbols(ste->ste_symbols, scope, bound, newfree,
......
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