April 27, 2001
2:14 p.m.
I going to see if I can fix this for 2.2. My current thinking is that there should be memory management APIs for GC objects, something like:
PyObject_GC_New() PyObject_GC_NewVar() PyObject_GC_Realloc() PyObject_GC_Del()
The non-GC APIs would no longer have to check the type flags which would be a bit of a speed win. The _AS_GC, _FROM_GC macros would not have to be used as much and the GC implementation would have more freedom about how to allocate things.
Looks good! --Guido van Rossum (home page: http://www.python.org/~guido/)