[Python-checkins] python/dist/src/Include weakrefobject.h,1.3,1.4

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Thu Nov 20 16:21:48 EST 2003


Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1:/tmp/cvs-serv30573/Include
Modified Files:
	weakrefobject.h 
Log Message:
SF bug 839548: Bug in type's GC handling causes segfaults.
Also SF patch 843455.
This is a critical bugfix.
I'll backport to 2.3 maint, but not beyond that. The bugs this fixes
have been there since weakrefs were introduced.
Index: weakrefobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/weakrefobject.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** weakrefobject.h	12 Aug 2002 07:21:58 -0000	1.3
--- weakrefobject.h	20 Nov 2003 21:21:45 -0000	1.4
***************
*** 40,43 ****
--- 40,45 ----
 PyAPI_FUNC(long) _PyWeakref_GetWeakrefCount(PyWeakReference *head);
 
+ PyAPI_FUNC(void) _PyWeakref_ClearRef(PyWeakReference *self);
+ 
 #define PyWeakref_GET_OBJECT(ref) (((PyWeakReference *)(ref))->wr_object)
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /