~/talk

The Journey of Upgrading A Python Version: From a Debugger Perspective

Talkat PyCon Israel 2022 · 2022-06-28..06-29· [python]
links:none on file
slides:none on file

Upgrading a Python debugger for 3.10 forces code-level fixes: CPython replaces the old line table with PEP 626 and removes the legacy struct field, the new iterator helpers are not exported so the SDK resorts to copy‑pasting internal logic, and bytecode jump offsets are doubled in 3.10 which breaks breakpoint offsets after inserting three instructions for a non‑stopping breakpoint. Static linking is impractical — statically linking inflates the SDK from 100KB to 4MB — so the implemented fixes adjust offset math and restore correct stepping and output.

AI-written summary · about

  1. 0:00Introduction
  2. 1:53What is Python
  3. 2:34What is a Python byte code
  4. 3:52What is Lookout Python SDK
  5. 5:07The line table
  6. 6:56Issues with the line table
  7. 7:48PEP626
  8. 9:39Backward Compatability
  9. 12:51Reminder
  10. 16:42Key takeaways
~/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.