Commit 4727379d authored by Stefan Behnel's avatar Stefan Behnel

enable Py_TPFLAGS_HAVE_FINALIZE flag for extension types that need it

parent 61fdc053
......@@ -405,6 +405,8 @@ class TypeFlagsSlot(SlotDescriptor):
value += "|Py_TPFLAGS_BASETYPE"
if scope.needs_gc():
value += "|Py_TPFLAGS_HAVE_GC"
if scope.needs_finalisation():
value += "|Py_TPFLAGS_HAVE_FINALIZE"
return value
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment