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
46f684e5
Commit
46f684e5
authored
Aug 14, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '0.23.x'
parents
25ec392a
a873979d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
CHANGES.rst
CHANGES.rst
+3
-0
Cython/Utility/Coroutine.c
Cython/Utility/Coroutine.c
+2
-1
tests/run/py35_pep492_interop.pyx
tests/run/py35_pep492_interop.pyx
+0
-3
No files found.
CHANGES.rst
View file @
46f684e5
...
...
@@ -44,6 +44,9 @@ Bugs fixed
* Misnamed PEP 492 coroutine property ``cr_yieldfrom`` renamed to
``cr_await`` to match CPython.
* Compiler crash on ``yield`` in signature annotations and default
argument values. Both are forbidden now.
0.23 (2015-08-08)
=================
...
...
Cython/Utility/Coroutine.c
View file @
46f684e5
...
...
@@ -560,7 +560,8 @@ static PyObject *__Pyx_Coroutine_Send(PyObject *self, PyObject *value) {
#endif
{
if
(
value
==
Py_None
)
ret
=
PyIter_Next
(
yf
);
// FIXME!
// FIXME - is this the right thing to do?
ret
=
PyIter_Next
(
yf
);
else
ret
=
__Pyx_PyObject_CallMethod1
(
yf
,
PYIDENT
(
"send"
),
value
);
}
...
...
tests/run/py35_pep492_interop.pyx
View file @
46f684e5
...
...
@@ -3,9 +3,6 @@
# tag: pep492, asyncfor, await
import
types
def
run_async
(
coro
):
#assert coro.__class__ is types.GeneratorType
assert
coro
.
__class__
.
__name__
in
(
'coroutine'
,
'GeneratorWrapper'
),
coro
.
__class__
.
__name__
...
...
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