~/talk

What to Do When the Bug Is in Someone Else's Code

Talkat PyCon US 2022 · 2022-04-27..05-03· [python, developer-experience]
links:none on file
slides:none on file

Fix upstream is gold standard: submit a patch, it often merges within days and ships (example: fixed for pandas 1.1.4). When waiting, use wrapper functions or opportunistic upgrading (feature detection or version checks) and scope fixes with a context manager. For urgent or isolation needs choose monkey patching, vendoring (beware import leaks) or maintaining a fork (use quilts or patched tarballs); pip/setup tools and vendored revealjs are real examples of tradeoffs and long term debt.

AI-written summary · about

  1. 0:00Start
  2. 3:54What Can Go Wrong
  3. 4:12Long Upstream Release Cycles
  4. 7:06Opportunistic Upgrading
  5. 11:42Monkey Patching
  6. 14:13Why this Is a Terrible Idea
  7. 17:06Real Life Examples
  8. 18:30Vendoring
  9. 19:59Cautions
  10. 23:19Maintaining a Fork
  11. 25:13Downsides
  12. 27:27Recap of the Strategies
  13. 29:10Final 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.