~/talk

Know and Love Your yield: Coroutines and Generators Beyond the for Loop

TalkinRussianat PiterPy 2015 · on Friday, 2015-03-20· [python]
links:none on file
slides:none on file

Explains how Python generators and coroutines work beyond simple for-loop use, focusing on what the interpreter does for yield from versus a for loop plus yield. Demonstrates programming techniques built on generators/coroutines and discusses major libraries that treat coroutines as a core language feature.

AI-written summary · about

  1. 0:00Generators introduction
  2. 6:51Python code objects
  3. 13:38How generators work
  4. 16:29Generators history
  5. 18:19Coroutines and yield from
  6. 21:36Limitations of yield from
  7. 25:13Current coroutine limits
  8. 27:43Coroutine queues
  9. 29:52Visitors and generators
  10. 33:01Context managers
  11. 34:23Finite state machines
  12. 36:15Pipe library
  13. 39:23Push-based pipelines
  14. 40:53Fibonacci streams
  15. 42:37Async I/O with generators
  16. 43:20Debugging greenlets
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.