Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
This talk from PyCon US explores the frustrating experience of hitting Ctrl+C to interrupt Python calculations only to wait as nothing happens. Discover why Python's interpreter immediately detects your interruption signal but must wait for extension modules to finish their work before actually stopping execution. Learn the technical reasons behind this behavior, explore current techniques extension module authors can implement to make their code more responsive to interruption signals, and examine future possibilities for creating naturally interruptible extensions. In this 32-minute presentation, gain insights into the inner workings of Python's interruption handling system and how the ecosystem can evolve to provide a better user experience when you need to cancel long-running operations.