[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Emacs and Python

From: Aut-Aut
Subject: Emacs and Python
Date: Sat, 28 Feb 2004 01:59:27 GMT
User-agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)

I use Emacs as my favourite python editor. Sometimes when i'm testing the
code (i run a python shell with C-c C-c) and an exception is thrown, if
this exception prevents the program from cleaning itself up emacs locks
up. E.g. this happens a lot when using wxPython, because when I mess with
the code and get an exception in the middle of the script, the script
stops (because the exception is unhandled) so the widgets i created are
not destroyed (they would be destroyed in the end of course) and the
python interpreter doesn't close, locking up emacs. If i run the script on
a shell, CTRL+C would do the trick... how can i prevent emacs from locking
up when unhandled exceptions are thrown?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]