How does ^C work in Python?

Hal Murray hmurray at megapathdsl.net
Mon Sep 26 05:18:46 UTC 2016


I'm thinking about the python version of ntpq.  It needs a way to break out 
of commands that are taking too long.

longjmp basically isn't guaranteed to work in c unless you can guarantee that 
the signal won't happen in the middle of any library routines.  They don't 
list the ones that might not work, only a few that are guaranteed to work.


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list