[Python-checkins] CVS: python/dist/src/Doc/api api.tex,1.111,1.112
Fred L. Drake
fdrake@users.sourceforge.net
Fri, 23 Mar 2001 09:42:12 -0800
Update of /cvsroot/python/python/dist/src/Doc/api
In directory usw-pr-cvs1:/tmp/cvs-serv6173/api
Modified Files:
api.tex
Log Message:
Strengthen the constraints on calling PyObject_GC_Fini().
Index: api.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/api.tex,v
retrieving revision 1.111
retrieving revision 1.112
diff -C2 -r1.111 -r1.112
*** api.tex 2001/03/22 16:30:17 1.111
--- api.tex 2001/03/23 17:42:09 1.112
***************
*** 5030,5033 ****
--- 5030,5038 ----
this for the object before any of the fields used by the
\member{tp_traverse} handler become invalid.
+
+ \strong{Note:} Any container which may be referenced from another
+ object reachable by the collector must itself be tracked by the
+ collector, so it is generally not safe to call this function
+ anywhere but in the object's deallocator.
\end{cfuncdesc}