[Python-checkins] python/dist/src/Include object.h,2.111,2.112

nascheme@users.sourceforge.net nascheme@users.sourceforge.net
Sun, 17 Nov 2002 09:52:46 -0800


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv646/Include

Modified Files:
	object.h 
Log Message:
Remove _Py_ResetReferences.  Fixes bug #529750 "Circular reference makes
Py_Init crash".  refchain cannot be cleared because objects can live across
Py_Finalize() and Py_Initialize() if they are kept alive by circular
references.


Index: object.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/object.h,v
retrieving revision 2.111
retrieving revision 2.112
diff -C2 -d -r2.111 -r2.112
*** object.h	8 Aug 2002 20:55:20 -0000	2.111
--- object.h	17 Nov 2002 17:52:44 -0000	2.112
***************
*** 560,564 ****
  PyAPI_FUNC(void) _Py_Dealloc(PyObject *);
  PyAPI_FUNC(void) _Py_PrintReferences(FILE *);
- PyAPI_FUNC(void) _Py_ResetReferences(void);
  
  #else
--- 560,563 ----