Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Writing Extension Modules To Be Interruptible

PyCon US via YouTube

Overview

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.

Syllabus

Writing Extension Modules To Be Interruptible

Taught by

PyCon US

Reviews

Start your review of Writing Extension Modules To Be Interruptible

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.