[Python-Dev] 2.4.4: backport classobject.c HAVE_WEAKREFS? (original) (raw)

A.M. Kuchling amk at amk.ca
Fri Oct 6 15:40:58 CEST 2006


I was looking at the logs for classobject.c and noticed this commit that adds Py_TPFLAGS_HAVE_WEAKREFS to the instance type. Should it be backported to 2.4? (It looks to me like it should, but I don't know anything about weakref implementation and want to get approval from someone who knows.)

--amk

r39038 | rhettinger | 2005-06-19 04:42:20 -0400 (Sun, 19 Jun 2005) | 2 lines

Insert missing flag.


Index: classobject.c

--- classobject.c (revision 39037) +++ classobject.c (revision 39038) @@ -2486,7 +2486,7 @@ (getattrofunc)instancemethod_getattro, /* tp_getattro / PyObject_GenericSetAttr, / tp_setattro / 0, / tp_as_buffer */

svn merge -r 39037:39038 svn+ssh://pythondev@svn.python.org/python/trunk



More information about the Python-Dev mailing list