Commit 631086f9 authored by Stefan Behnel's avatar Stefan Behnel

adapt more type structs to Py3.4

parent 72bacecd
......@@ -789,7 +789,7 @@ slot_table = (
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"),
EmptySlot("tp_finalize", ifdef="PY_VERSION_HEX >= 0x03040a00"),
)
#------------------------------------------------------------------------------------------
......
......@@ -634,6 +634,9 @@ static PyTypeObject __pyx_CyFunctionType_type = {
#if PY_VERSION_HEX >= 0x02060000
0, /*tp_version_tag*/
#endif
#if PY_VERSION_HEX >= 0x03040a00
0, /*tp_finalize*/
#endif
};
......@@ -1079,6 +1082,9 @@ static PyTypeObject __pyx_FusedFunctionType_type = {
#if PY_VERSION_HEX >= 0x02060000
0, /*tp_version_tag*/
#endif
#if PY_VERSION_HEX >= 0x03040a00
0, /*tp_finalize*/
#endif
};
static int __pyx_FusedFunction_init(void) {
......
......@@ -608,6 +608,9 @@ static PyTypeObject __pyx_GeneratorType_type = {
#if PY_VERSION_HEX >= 0x02060000
0, /*tp_version_tag*/
#endif
#if PY_VERSION_HEX >= 0x03040a00
0, /*tp_finalize*/
#endif
};
static __pyx_GeneratorObject *__Pyx_Generator_New(__pyx_generator_body_t body,
......
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