Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19b77cf

Browse files
committed
Finish the dict->string coredump fix. Need sleep.
Bugfix candidate.
1 parent fa517b2 commit 19b77cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/dictobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ dict_print(register dictobject *mp, register FILE *fp, register int flags)
766766
return -1;
767767
}
768768
fprintf(fp, ": ");
769-
if (PyObject_Print(ep->me_value, fp, 0) != 0) {
769+
if (PyObject_Print(pvalue, fp, 0) != 0) {
770770
Py_DECREF(pvalue);
771771
Py_ReprLeave((PyObject*)mp);
772772
return -1;

0 commit comments

Comments
 (0)