[Python-checkins] CVS: python/dist/src/Objects dictobject.c,2.99,2.100
Tim Peters
tim_one@users.sourceforge.net
Sat, 02 Jun 2001 01:27:42 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv31412/python/dist/src/Objects
Modified Files:
dictobject.c
Log Message:
Finish the dict->string coredump fix. Need sleep.
Bugfix candidate.
Index: dictobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/dictobject.c,v
retrieving revision 2.99
retrieving revision 2.100
diff -C2 -r2.99 -r2.100
*** dictobject.c 2001/06/02 08:02:56 2.99
--- dictobject.c 2001/06/02 08:27:39 2.100
***************
*** 767,771 ****
}
fprintf(fp, ": ");
! if (PyObject_Print(ep->me_value, fp, 0) != 0) {
Py_DECREF(pvalue);
Py_ReprLeave((PyObject*)mp);
--- 767,771 ----
}
fprintf(fp, ": ");
! if (PyObject_Print(pvalue, fp, 0) != 0) {
Py_DECREF(pvalue);
Py_ReprLeave((PyObject*)mp);