~/talk

What not to do, and how to do it

Talkat PyCon AU 2019 · 2019-08-02..08-06· [python]
links:none on file
slides:none on file

Explains concrete behaviors: locals() vs globals() — locals returns a snapshot that doesn’t update fast locals while globals returns the module dict; uses inspect.currentframe and code objects to read the call stack, compare code objects and local names to allow attribute writes only from __init__ (it works but fails with closures and some inheritance patterns); disassembles and rewrites co_code to implement bytecode patching for goto and switch, a ~200‑line implementation that runs but is fragile across Python bytecode changes.

AI-written summary · about

  1. 0:00Intro
  2. 1:25Local variables
  3. 4:40Cole stack
  4. 8:53immutable objects
  5. 13:35goto statements
  6. 14:25disassemble
  7. 19:25QA
~/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.