Kaydet (Commit) 9e4b2e78 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

SF bug #1183742: PyDict_Copy() can return non-NULL value on error

üst 94998572
......@@ -1289,7 +1289,7 @@ PyDict_Copy(PyObject *o)
if (PyDict_Merge(copy, o, 1) == 0)
return copy;
Py_DECREF(copy);
return copy;
return NULL;
}
int
......
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