~/talk

Debugging Python in Production: Practical Techniques Beyond Print Statements

Talkat PyCon US 2026 · 2026-05-13..05-19· [python, observability]
links:none on file
slides:none on file

Concrete debugging recipes for production Python: use structured logging with request IDs, timestamps, and severity so errors locate the failing request; correlate stack traces and runtime inspection to find the exact failing line; reproduce issues with small, runnable Python programs the uploader promises and walk through fixes; instrument services with Prometheus and Grafana plus an error aggregator like Sentry for alerts and traces; use tracing to follow a request across services, inspect memory/CPU spikes, and verify whether rolling back or clearing leaked resources actually fixes the problem.

AI-written summary · about

  1. 0:00Introduction
  2. 1:29Debugging production challenges
  3. 2:11Logging for debugging
  4. 3:17Tracebacks and exceptions
  5. 4:41Monitoring system health
  6. 6:50Tracing requests
  7. 8:13Observability in distributed systems
  8. 9:36Q&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.