Yury Selivanov added the comment:

Please find attached a new patch.

Stefan, while working on the patch, I (re-)discovered that __await__ for 
coroutines should return an iterator that also implements '.send', '.throw', 
and '.close', to comply with PEP 380 yield from implementation: 
https://www.python.org/dev/peps/pep-0380/#proposal

Please try to compile this python file: 
https://gist.github.com/1st1/4ee1d072309068dd2798

----------
Added file: http://bugs.python.org/file39669/corotype.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24400>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to