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
Kirill Smelkov
cython
Commits
51ff9a87
Commit
51ff9a87
authored
Aug 19, 2017
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove a PyPy fix that does not actually fix anything.
parent
60f7d3b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
Cython/Utility/Coroutine.c
Cython/Utility/Coroutine.c
+0
-7
No files found.
Cython/Utility/Coroutine.c
View file @
51ff9a87
...
@@ -1392,18 +1392,11 @@ static PyTypeObject __pyx_CoroutineAwaitType_type = {
...
@@ -1392,18 +1392,11 @@ static PyTypeObject __pyx_CoroutineAwaitType_type = {
};
};
static
CYTHON_INLINE
PyObject
*
__Pyx__Coroutine_await
(
PyObject
*
coroutine
)
{
static
CYTHON_INLINE
PyObject
*
__Pyx__Coroutine_await
(
PyObject
*
coroutine
)
{
#if CYTHON_COMPILING_IN_CPYTHON
__pyx_CoroutineAwaitObject
*
await
=
PyObject_GC_New
(
__pyx_CoroutineAwaitObject
,
__pyx_CoroutineAwaitType
);
__pyx_CoroutineAwaitObject
*
await
=
PyObject_GC_New
(
__pyx_CoroutineAwaitObject
,
__pyx_CoroutineAwaitType
);
#else
__pyx_CoroutineAwaitObject
*
await
=
(
__pyx_CoroutineAwaitObject
*
)
__pyx_CoroutineAwaitType
->
tp_new
(
__pyx_CoroutineAwaitType
,
__pyx_empty_tuple
,
NULL
);
#endif
if
(
unlikely
(
!
await
))
return
NULL
;
if
(
unlikely
(
!
await
))
return
NULL
;
Py_INCREF
(
coroutine
);
Py_INCREF
(
coroutine
);
await
->
coroutine
=
coroutine
;
await
->
coroutine
=
coroutine
;
#if CYTHON_COMPILING_IN_CPYTHON
PyObject_GC_Track
(
await
);
PyObject_GC_Track
(
await
);
#endif
return
(
PyObject
*
)
await
;
return
(
PyObject
*
)
await
;
}
}
...
...
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