✍️ New advanced post on using Python 3.12’s sys.monitoring to spy on a data structure and open pdb when it changes. adamj.eu/tech/2024/12...
Python: spy for changes with sys.monitoring - Adam Johnson
Python 3.12 introduced sys.monitoring, a new framework for “monitoring” tools like debuggers and profilers to hook into. It provides fine-grained control so tools can listen only to certain events on ...
adamj.eu