This is a really good question, I think! Python has a
KeyboardInterrupt exception for this purpose. Should we perhap
try something similar? Perhaps as a library solution? I think a
function like some_module.registerInterruptExceptions() would be
cool to have. If someone knows a way to do that, that would be
cool. I'm looking at deadalnix...
- Re: ctrl+c and destructors simendsjo
- Re: ctrl+c and destructors deadalnix
- Re: ctrl+c and destructors H. S. Teoh
- Re: ctrl+c and destructors deadalnix
- Re: ctrl+c and destructors H. S. Teoh
- Re: ctrl+c and destructors deadalnix
- Re: ctrl+c and destructors H. S. Teoh
- Re: ctrl+c and destructors Sean Kelly
- Re: ctrl+c and destructors H. S. Teoh
- Re: ctrl+c and destructors Sean Kelly
- Re: ctrl+c and destructors w0rp
- Re: ctrl+c and destructors qznc
- Re: ctrl+c and destructors deadalnix
- Re: ctrl+c and destructors Andrej Mitrovic
- Re: ctrl+c and destructors Sean Kelly
- Re: ctrl+c and destructors Jonathan M Davis
- Re: ctrl+c and destructors Adam D. Ruppe