[ python-Bugs-1479785 ] Quitter object masked

SourceForge.net noreply at sourceforge.net
Mon Aug 28 18:43:24 CEST 2006


Bugs item #1479785, was opened at 2006-05-01 17:01
Message generated for change (Comment added) made by ronaldoussoren
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1479785&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: IDLE
Group: Python 2.5
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Jim Jewett (jimjjewett)
Assigned to: Kurt B. Kaiser (kbk)
Summary: Quitter object masked

Initial Comment:
2.5 introduces a Quitter object (defined in site.py) 
to make the quit/exit message more friendly.

Lines 480-482 of PyShell.py override this, so that 
users of Idle never see the improved feature.

Unfortunately, simply removing those lines isn't quite 
enough to solve the problem, as IDLE catches 
SystemExit exceptions.  Getting around that, I didn't 
have time to track down yet.




----------------------------------------------------------------------

>Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2006-08-28 18:43

Message:
Logged In: YES 
user_id=580910

When I type quit() in the Python Shell window I get a dialog that says:

> The program is still running!
> Do you want to kill it?

(Python 2.5c1)

----------------------------------------------------------------------

Comment By: Kurt B. Kaiser (kbk)
Date: 2006-08-16 07:03

Message:
Logged In: YES 
user_id=149084

Rev 51306: Patch #1540892

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1479785&group_id=5470


More information about the Python-bugs-list mailing list