From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Aut-Aut Newsgroups: gmane.emacs.help Subject: Emacs and Python Date: Sat, 28 Feb 2004 01:59:27 GMT Organization: TIN Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1077934257 30904 80.91.224.253 (28 Feb 2004 02:10:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 28 Feb 2004 02:10:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 28 03:10:48 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AwtwG-0002mQ-00 for ; Sat, 28 Feb 2004 03:10:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Awtv8-00009k-PS for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Feb 2004 21:09:38 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!irazu.switch.ch!switch.ch!newsfeed.nextoneserver.com!news-out.tin.it!news-in.tin.it!news3.tin.it.POSTED!not-for-mail User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Original-Newsgroups: gnu.emacs.help Original-Lines: 10 Original-NNTP-Posting-Host: 82.50.98.183 Original-X-Complaints-To: newsmaster@tin.it Original-X-Trace: news3.tin.it 1077933567 82.50.98.183 (Sat, 28 Feb 2004 02:59:27 MET) Original-NNTP-Posting-Date: Sat, 28 Feb 2004 02:59:27 MET Original-Xref: shelby.stanford.edu gnu.emacs.help:121345 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17299 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17299 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?