~/talk

Args: Amazing or Approaching?

Talkat PyCon AU 2025 · 2025-09-12..09-16· [python]
slides:none on file

History and mechanics of Python arguments get traced to concrete claims and fixes: defaults behave oddly because default args created at definition time, kwargs and star unpacking let callers avoid overloads, and positional-only slash plus upcoming deprecation of positional count/flags (3.13) force safer calls. Examples show mutable-default bugs, misordered parameters, and broken overloads; comparisons to Swift, JS and Rust highlight tradeoffs. Practical tools mentioned: typing additions in 3.11, use linters to auto-enforce or auto-fix keyword-only calls.

AI-written summary · about

  1. 0:00Welcome
  2. 1:08Python’s argument system
  3. 2:10Default arguments pitfalls
  4. 5:00Keyword arguments
  5. 8:56Benefits of keyword args
  6. 13:38Forcing keyword-only args
  7. 16:29Slash parameter
  8. 19:18Unpacking dicts into calls
  9. 22:53Star and double-star args
  10. 25:23When arbitrary arguments are a bad idea
  11. 27:06Recap of Python args
  12. 28:10Closing & Q&A
~/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.