Thomas Heller wrote: > David Abrahams wrote: > > What I don't understand is how the builtin metatype > > gets away with Py_TPFLAGS_HAVE_GC when some of its instance > > types are not even heap-allocated. > > Hm, I don't understand you, Are you talking about Py_TPFLAGS_HEAPTYPE? I think David is asking about line 1404 of Objects/typeobject.c, where it says that PyType_Type is Py_TPFLAGS_HAVE_GC. How can it have GC when many instances are static objects, not allocated with PyObject_GC_VarNew()? I don't know the answer. ## Jason Orendorff http://www.jorendorff.com/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4