Python ^C processing

Hal Murray hmurray at
Wed Dec 21 21:05:44 UTC 2016

Is there any way to set a flag and continue, or does python always do the 
equivalent of a longjmp to the Except catcher?

I don't think so, but it seems worth checking before I go uglify some code.

Context is rare crashes when ntpq is trying to print out a mru list slot that 
is only half setup.  That can happen if the ^C hits while it is copying the 
data from a packet to the new slot.  The slot is appended to the list before 
it gets totally filled in.

These are my opinions.  I hate spam.

More information about the devel mailing list