~/talk

Zoom, Enhance: Asyncio's New Introspection Powers

Talkat PyCon US 2025 · 2025-05-16..05-18· [python, observability]
links:none on file
slides:none on file

Python 3.14 adds the ability to introspect a running asyncio program from another OS process, claiming cross‑process debugging and profiling with zero performance penalty. It adds a task.awaited_by attribute plus APIs like capture call graph and print task call graph, and ships a working async‑ps tool that produces real‑time trees and tables of tasks and awaits. The feature survives heavy review, demonstrates a live demo against CPython test suites, and is validated as functioning end‑to‑end.

AI-written summary · about

  1. 0:00Introduction
  2. 2:24The problem
  3. 6:11Asyncio basics
  4. 8:37Initial introspection
  5. 11:56Advanced introspection
  6. 14:21Testing and setbacks
  7. 17:17The complex data structure
  8. 19:00Live demo
  9. 21:27Conclusion
~/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.