Python Coroutines

  • Generators (pulling)
  • Coroutines (pushing)
  • Don't mingle them together, for the readability sake
  • Might provide an alternative to threading (bad due to GIL)

Read : http://dabeaz.com/coroutines/Coroutines.pdf

Konpat Preechakul

Read more posts by this author.