~/talk

Python Oddities Explained

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

Covers concrete behaviors: Python 3 only scope rules (for-loops leak loop variable, comprehensions do not), assignment versus mutation (assignments make locals; methods like list.extend mutate objects), and augmented assignment quirks where lists mutate with += but tuples/strings fall back to new objects. Demonstrates that += invokes __iadd__ then assignment, which can mutate a list inside a tuple then raise on the assignment. Uses short examples and surprising edge cases rather than abstract promises.

AI-written summary · about

  1. 0:00Introduction
  2. 2:19Variables
  3. 8:58Mutability
  4. 13:04Duck
  5. 16:12Duck Typing
  6. 25:09Closing Thoughts
~/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.