[Python-checkins] python/dist/src/Modules gcmodule.c,2.67,2.68
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Mon, 07 Apr 2003 15:41:29 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv24916/python/Modules
Modified Files:
gcmodule.c
Log Message:
Comment repair; no semantic changes.
Index: gcmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/gcmodule.c,v
retrieving revision 2.67
retrieving revision 2.68
diff -C2 -d -r2.67 -r2.68
*** gcmodule.c 7 Apr 2003 19:21:15 -0000 2.67
--- gcmodule.c 7 Apr 2003 22:41:24 -0000 2.68
***************
*** 619,625 ****
}
}
! /* Call tp_clear on objects in the collectable set. This will cause
! * the reference cycles to be broken. It may also cause some objects
! * in finalizers and/or reachable_from_finalizers to be freed */
delete_garbage(&unreachable, old);
--- 619,626 ----
}
}
! /* Call tp_clear on objects in the unreachable set. This will cause
! * the reference cycles to be broken. It may also cause some objects
! * in finalizers to be freed.
! */
delete_garbage(&unreachable, old);
***************
*** 652,656 ****
if (PyErr_Occurred()) {
if (gc_str == NULL)
! gc_str = PyString_FromString("garbage collection");
PyErr_WriteUnraisable(gc_str);
Py_FatalError("unexpected exception during garbage collection");
--- 653,657 ----
if (PyErr_Occurred()) {
if (gc_str == NULL)
! gc_str = PyString_FromString("garbage collection");
PyErr_WriteUnraisable(gc_str);
Py_FatalError("unexpected exception during garbage collection");