~/talk

Beyond Python Enhanced Generators

Talkat EuroPython 2011 · 2011-06-20..06-26· [python]
links:none on file
slides:none on file

Argues that generalized generators unlocked practical streaming concurrency and shows a concrete implementation called waitless made of compose plus gio that wires generators to sockets. Demonstrates how compose auto‑delegates (like yield from), preserves a real generator stack so exceptions produce useful stack traces, returns values via StopIteration, and implements pushback buffering so parsers avoid global copies. Builds a streaming HTTP-like protocol on top, replaces awkward boilerplate with one composition primitive, and reports the system works and simplifies real-world IO and debugging.

AI-written summary · about

  1. 0:00Introduction
  2. 5:00Coroutines
  3. 9:50Four topics
  4. 11:12Agenda
  5. 13:23Structured Programming
  6. 16:51Interleaving
  7. 18:27Recognition
  8. 19:48Buffering
  9. 23:22Application
  10. 28:21Python Code
  11. 35:50PEP 380
  12. 38:23compose
  13. 44:14composed generator
  14. 46:54stop iteration
  15. 50:23yield None
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.