[Python-checkins] python/dist/src/Include weakrefobject.h, 1.3,
1.3.14.1
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Thu Nov 20 17:13:52 EST 2003
Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1:/tmp/cvs-serv10811/Include
Modified Files:
Tag: release23-maint
weakrefobject.h
Log Message:
SF bug 839548: Bug in type's GC handling causes segfaults.
Also SF patch 843455.
This is a critical bugfix, backported from 2.4 development.
I don't intend to backport beyond 2.3 maint. 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.3.14.1
diff -C2 -d -r1.3 -r1.3.14.1
*** weakrefobject.h 12 Aug 2002 07:21:58 -0000 1.3
--- weakrefobject.h 20 Nov 2003 22:13:50 -0000 1.3.14.1
***************
*** 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