commit | a57df2cf1d627840dff505e8487fbd5f42414c7b | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Wed Mar 31 21:32:15 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Wed Mar 31 21:32:15 2010 +0000 |
tree | 87d099bca7fc01072ad6911e9ffa79707b982704 | |
parent | 26cc99da2a350f3093c9d7055794daef2034e2a4 [diff] [blame] |
Issue #8268: Old-style classes (not just instances) now support weak references.
diff --git a/Include/classobject.h b/Include/classobject.h index 118dd09..bc03e0d 100644 --- a/Include/classobject.h +++ b/Include/classobject.h
@@ -18,6 +18,7 @@ PyObject *cl_getattr; PyObject *cl_setattr; PyObject *cl_delattr; + PyObject *cl_weakreflist; /* List of weak references */ } PyClassObject; typedef struct {