Links tagged “coroutines”
8 links, newest first.
pythonsheets.com
Cheat sheet on asynchronous Python, tracing the path from callbacks and generators to coroutines and async/await with runnable snippets at each step.
docs.python.org
Python 3.5's asyncio reference for coroutines, futures and tasks, covering gather(), wait(), wait_for(), shield() and ensure_future().
snarky.ca
A walk through how async/await is built in Python 3.5, from generators and yield from to coroutines, ending with a minimal event loop written from scratch.
ntoll.org
An introduction to asyncio as it landed in Python 3.4 — event loop, coroutines, futures and tasks — with worked non-blocking network examples.
youtube.com
David Beazley builds Python concurrency up from primitives, live on stage at PyCon 2015, ending at asyncio.
github.com
Book chapter by A. Jesse Jiryu Davis and Guido van Rossum building a concurrent web crawler three ways — threads, then callbacks, then generator-based coroutines.
emptysqua.re
Resource page for A. Jesse Jiryu Davis's talk on coding a Python 3 async framework from scratch, linking the demo repository and the 500 Lines chapter.
python.org
The PEP that adds native coroutines to Python 3.5 with async def and await, along with async with and async for.






