mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Finish the dict->string coredump fix. Need sleep.
Bugfix candidate.
This commit is contained in:
parent
fa517b277f
commit
19b77cfc4b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue