Re: Catching a non-Exception object (KeyboardInterrupt)

2008-02-04 Thread Gabriel Genellina
En Mon, 04 Feb 2008 11:53:52 -0200, Michael Goerz <[EMAIL PROTECTED]> escribi�: > when I try to catch ctrl+c with > > except KeyboardInterrupt: > > pychecker tells me > > Catching a non-Exception object (KeyboardInterrupt) > > It works fine, but the message indicates that it's not completely cle

Re: Catching a non-Exception object (KeyboardInterrupt)

2008-02-04 Thread Duncan Booth
Hrvoje Niksic <[EMAIL PROTECTED]> wrote: > Michael Goerz <[EMAIL PROTECTED]> writes: > >> when I try to catch ctrl+c with >> >> except KeyboardInterrupt: >> >> pychecker tells me >> >> Catching a non-Exception object (KeyboardInterrupt) > > Looks like a pychecker bug. It might be confused by Ke

Re: Catching a non-Exception object (KeyboardInterrupt)

2008-02-04 Thread Hrvoje Niksic
Michael Goerz <[EMAIL PROTECTED]> writes: > when I try to catch ctrl+c with > > except KeyboardInterrupt: > > pychecker tells me > > Catching a non-Exception object (KeyboardInterrupt) Looks like a pychecker bug. It might be confused by KeyboardInterrupt being derived not from Exception, but fro