2015/How Do Python Coroutines Work?

From Open Source Bridge Wiki
Jump to: navigation, search

Here's the code, more or less, that I wrote during the during the session: https://github.com/ajdavis/osbridge-2015/blob/master/50.py

The repository as a whole shows the evolution of the code over the course of the demo, and includes a README, and the slow server that the demo client connects to: https://github.com/ajdavis/osbridge-2015/

The material for this talk is adapted from a chapter I wrote with Guido van Rossum for an upcoming book in the Architecture of Open Source Applications series:


The chapter presents a far more sophisticated code example than I demo'ed during the session, and covers all the same ideas that I mentioned in much greater depth and detail.