Stefan Behnel added the comment:

Looks good, simplifies the code visibly and makes the implementation quite 
similar to the one I wrote for Cython.

I like the fact that it separates generators from coroutines at an isinstance() 
level. The fact that "async def" functions currently have the same type as 
yield-based generators smells too much like an implementation detail to keep it 
visible at the language level.

----------

_______________________________________
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