Module written in C does not repond to Ctrl-C interruption.

Bo Peng bpeng at rice.edu
Fri Feb 24 19:16:38 EST 2006


Daniel Dittmar wrote:
> 
> You could set up your own signal handler when entering the C extension. 
> This should abort the extension (tricky) and call the Python signal 
> handler.

This can be done under linux using things in signal.h but I am not
sure whether or not there is a portable way to do it (max, win32).
Does anybody know a quick way under windows?

Bo




More information about the Python-list mailing list