~/talk

The "Kwargh!" Problem

Talkat PyData Berlin 2016 · 2016-05-20..05-21· [machine-learning, data-visualization]
slides:none on file

Claim is that Python is essentially impossible to fully statically analyze but useful heuristics can recover many forwarded keyword args. Uses inspect and ast to measure APIs (pandas shows ~40% of callables accepting *kwargs, matplotlib ~10%, numpy/sklearn/bokeh near 0%), and explores bytecode call interception and a dynamic "ratch" module that adds read watches to objects to trace where args go. Builds a prototype that logs call sites and even doubles integers as a demo; results are incomplete but practically useful and automatically generatable*.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04Engineering problem
  3. 2:08Quark problem demo
  4. 8:05Solving Quark problem
  5. 11:15Static analysis fails
  6. 20:07Dynamic analysis with rat
  7. 27:12Rat call tracking demo
  8. 29:22Q&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.