Stopping exception unwinding at exit

Peter Hansen peter at engcorp.com
Wed Nov 14 08:13:09 EST 2001


Michael Hudson wrote:
> 
> "Sean 'Shaleh' Perry" <shalehperry at home.com> writes:
> 
> > On a related note, is there a way to tell python to NEVER drop a trace?
[...]
> Of course, if you can hit ^C *really* quickly, you can do it before
> you can do either of these things.

Isn't the first line of site.py the very first code to be executed?
Or is there something else that comes before?  It should be
possible to hook something soon enough that you *can't* hit ^C
too soon.

-- 
----------------------
Peter Hansen, P.Eng.
peter at engcorp.com



More information about the Python-list mailing list