[Python-checkins] python/dist/src/Objects object.c,2.162.6.6,2.162.6.7
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Tue, 19 Nov 2002 18:38:13 -0800
Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1:/tmp/cvs-serv27740/Objects
Modified Files:
Tag: release22-maint
object.c
Log Message:
Backport Neil Schemenauer's fix for SF #529750,
Circular reference makes Py_Init crash
Modified to keep _Py_ResetReferences() API, but make it a no-op.
It's not called now (for 2.3 it was completely removed).
Index: object.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/object.c,v
retrieving revision 2.162.6.6
retrieving revision 2.162.6.7
diff -C2 -d -r2.162.6.6 -r2.162.6.7
*** object.c 11 Oct 2002 20:37:58 -0000 2.162.6.6
--- object.c 20 Nov 2002 02:38:10 -0000 2.162.6.7
***************
*** 1785,1790 ****
_Py_ResetReferences(void)
{
- refchain._ob_prev = refchain._ob_next = &refchain;
- _Py_RefTotal = 0;
}
--- 1785,1788 ----