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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
96bd49c5
Commit
96bd49c5
authored
Sep 29, 2017
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly initialise "tp_finalize" slot even when its usage is disabled.
parent
46041cb0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
Cython/Utility/AsyncGen.c
Cython/Utility/AsyncGen.c
+2
-0
Cython/Utility/Coroutine.c
Cython/Utility/Coroutine.c
+4
-0
No files found.
Cython/Utility/AsyncGen.c
View file @
96bd49c5
...
...
@@ -395,6 +395,8 @@ static PyTypeObject __pyx_AsyncGenType_type = {
0
,
/* tp_version_tag */
#if CYTHON_USE_TP_FINALIZE
__Pyx_Coroutine_del
,
/* tp_finalize */
#elif PY_VERSION_HEX >= 0x030400a1
0
,
/* tp_finalize */
#endif
};
...
...
Cython/Utility/Coroutine.c
View file @
96bd49c5
...
...
@@ -1568,6 +1568,8 @@ static PyTypeObject __pyx_CoroutineType_type = {
0
,
/*tp_version_tag*/
#if CYTHON_USE_TP_FINALIZE
__Pyx_Coroutine_del
,
/*tp_finalize*/
#elif PY_VERSION_HEX >= 0x030400a1
0
,
/*tp_finalize*/
#endif
};
...
...
@@ -1668,6 +1670,8 @@ static PyTypeObject __pyx_GeneratorType_type = {
0
,
/*tp_version_tag*/
#if CYTHON_USE_TP_FINALIZE
__Pyx_Coroutine_del
,
/*tp_finalize*/
#elif PY_VERSION_HEX >= 0x030400a1
0
,
/*tp_finalize*/
#endif
};
...
...
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