Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
631086f9
Commit
631086f9
authored
Aug 03, 2013
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adapt more type structs to Py3.4
parent
72bacecd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
Cython/Compiler/TypeSlots.py
Cython/Compiler/TypeSlots.py
+1
-1
Cython/Utility/CythonFunction.c
Cython/Utility/CythonFunction.c
+6
-0
Cython/Utility/Generator.c
Cython/Utility/Generator.c
+3
-0
No files found.
Cython/Compiler/TypeSlots.py
View file @
631086f9
...
...
@@ -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 >= 0x03040
0
00"
),
EmptySlot
(
"tp_finalize"
,
ifdef
=
"PY_VERSION_HEX >= 0x03040
a
00"
),
)
#------------------------------------------------------------------------------------------
...
...
Cython/Utility/CythonFunction.c
View file @
631086f9
...
...
@@ -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
)
{
...
...
Cython/Utility/Generator.c
View file @
631086f9
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment