[Pythonmac-SIG] Re: [wxPython-mac] MachoPython eats Ctrl-C?

Jack Jansen Jack.Jansen@cwi.nl
Fri, 17 May 2002 16:38:35 +0200


On Thursday, May 16, 2002, at 12:50 , Just van Rossum wrote:

> Jack Jansen wrote:
>
>> If this behaviour can be disabled I would guess it will be
>> through the Carbon Event Manager, so maybe you should start
>> looking there.
>
> My guess would be that it's the OS that sends a SIGINT, and that Python 
> converts
> it to a KeyboardInterrupt. So maybe it's a matter of overriding the 
> SIGINT
> handler with a noop?

I think the original problem is the reverse: he doesn't receive the 
keydown event for control-C.
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma 
Goldman -