~/talk

Practical usage of advanced Python constructs

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

Uses real code from projects and libraries: generator-based chunks iterator streams HTTP responses so the whole body never loads into memory; a flattening generator from Django and recursive os.walk-style traversal; a simple per-IP rate-limit decorator that blocks after 10 calls per minute; a time out decorator implemented with SIGALRM (Linux only) to kill long-running calls; caching-decorator patterns (including a property cache) and session/transaction context managers that deterministically close or commit/rollback resources.

AI-written summary · about

  1. 0:00Python
  2. 2:17Iterators
  3. 4:56Control flow with generators
  4. 5:45View of iterable map & filter
  5. 7:24Complicated flatten
  6. 7:53Save memory
  7. 11:05Django cycle
  8. 14:00Decorators
  9. 14:30Can do
  10. 15:06Discovery & metadata
  11. 16:39Call or not
  12. 18:22Caching
  13. 19:54Dogpile
  14. 20:49Ansible
  15. 23:16Context managers
  16. 25:44Digging deeper
  17. 26:32Debug
~/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.