Commit 19b77cfc authored by Tim Peters's avatar Tim Peters

Finish the dict->string coredump fix. Need sleep.

Bugfix candidate.
parent fa517b27
...@@ -766,7 +766,7 @@ dict_print(register dictobject *mp, register FILE *fp, register int flags) ...@@ -766,7 +766,7 @@ dict_print(register dictobject *mp, register FILE *fp, register int flags)
return -1; return -1;
} }
fprintf(fp, ": "); fprintf(fp, ": ");
if (PyObject_Print(ep->me_value, fp, 0) != 0) { if (PyObject_Print(pvalue, fp, 0) != 0) {
Py_DECREF(pvalue); Py_DECREF(pvalue);
Py_ReprLeave((PyObject*)mp); Py_ReprLeave((PyObject*)mp);
return -1; return -1;
......
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