projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61fdc05
)
enable Py_TPFLAGS_HAVE_FINALIZE flag for extension types that need it
author
Stefan Behnel
<stefan_ml@behnel.de>
Sun, 4 Aug 2013 13:57:52 +0000
(15:57 +0200)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Sun, 4 Aug 2013 13:57:52 +0000
(15:57 +0200)
Cython/Compiler/TypeSlots.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/TypeSlots.py
b/Cython/Compiler/TypeSlots.py
index
2038338
..
c82c66a
100644
(file)
--- a/
Cython/Compiler/TypeSlots.py
+++ b/
Cython/Compiler/TypeSlots.py
@@
-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