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

Robin Dunn robin@alldunn.com
Fri, 17 May 2002 08:36:27 -0700


>
> 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.

Correct.

--
Robin Dunn
Software Craftsman
robin@AllDunn.com       Java give you jitters?
http://wxPython.org      Relax with wxPython!