Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn about PEP 768, a groundbreaking proposal for Python 3.14 that introduces a safe, zero-overhead debugging interface to CPython in this 32-minute conference talk from PyCon US. Discover the unique challenges Python developers face when attaching debuggers to live processes compared to C/C++ applications, and understand why current debugging tools resort to unsafe methods that risk crashing interpreters and corrupting memory. Explore how PEP 768 addresses these critical issues by implementing a cooperative debugging protocol that works harmoniously with the interpreter rather than fighting against it. Gain insights into the technical implementation details of this zero-overhead solution, examine real-world applications including live process attachment for pdb, and understand the essential security considerations and safeguards built into the system. Master the complexities of live process debugging in Python and see how this elegant solution transforms the debugging landscape for production applications.