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:
0a2d0e8
)
add tp_finalize slot for Py3.4+
author
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 3 Aug 2013 16:33:10 +0000
(18:33 +0200)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 3 Aug 2013 16:33:10 +0000
(18:33 +0200)
Cython/Compiler/TypeSlots.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/TypeSlots.py
b/Cython/Compiler/TypeSlots.py
index
49eacd4
..
d314f14
100644
(file)
--- a/
Cython/Compiler/TypeSlots.py
+++ b/
Cython/Compiler/TypeSlots.py
@@
-788,6
+788,8
@@
slot_table = (
EmptySlot("tp_weaklist"),
EmptySlot("tp_del"),
EmptySlot("tp_version_tag", ifdef="PY_VERSION_HEX >= 0x02060000"),
+ # TODO: change __dealloc__ to be called by tp_finalize (PEP 442)
+ EmptySlot("tp_finalize", ifdef="PY_VERSION_HEX >= 0x03040000"),
)
#------------------------------------------------------------------------------------------