Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
masklinn
on Feb 26, 2013
|
parent
|
context
|
favorite
| on:
Python Generators in Depth
Tulip coroutines[0] look rather good. As with C#'s async/await you have to propagate the "asyncness" to the event loop (using `yield from` with a future or another coroutine), which is not necessary in gevent, but that should be the extent of it.
[0]
http://www.python.org/dev/peps/pep-3156/#coroutines-and-the-...
pekk
on Feb 27, 2013
[–]
The implementation described in that PEP is massive. Seems pretty hard to explain...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[0] http://www.python.org/dev/peps/pep-3156/#coroutines-and-the-...