~/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 (PEP 342/380) let entire applications be written as composed coroutines and describes a working implementation called compos (library) that runs large real apps with generators only. Shows concrete fixes: a small stack/state mechanism for exceptions and returns, a push-back message cube for unconsumed bytes in HTTP parsing, and turning StopIteration into return values. Claims a frustrating bug went away after removing three lines; demonstrates working HTTP request/headers/body parsing and delegation that matches PEP 380 behavior.

AI-written summary · about

  1. 0:00Start
  2. 0:07Beyond Python Enhanced Generators
  3. 1:20A very profound addition
  4. 5:00Trampoline model (actors)
  5. 6:36Weightless's Model
  6. 9:51Four Topics
  7. 11:16Agenda
  8. 13:24Jackson Structured Programming
  9. 15:53Boudary Clashes
  10. 16:51Interleaving Clashes
  11. 17:53Ordering Clashes
  12. 18:28Recognition Difficulties
  13. 19:48Program Inversion
  14. 23:22Applicability
  15. 25:38Different modes
~/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.