[Patches] [ python-Patches-1540892 ] make IDLE honor the quit() builtin

SourceForge.net noreply at sourceforge.net
Tue Aug 15 21:51:08 CEST 2006


Patches item #1540892, was opened at 2006-08-15 15:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1540892&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: Open
Resolution: None
Priority: 5
Submitted By: Jim Jewett (jimjjewett)
Assigned to: Nobody/Anonymous (nobody)
Summary: make IDLE honor the quit() builtin

Initial Comment:
As of 2.5, quit() should exit.  Certain wrapping 
environments (including IDLE) didn't honor this.

This patch fixes at least idle, by having the 
Quitter() object (try to) close sys.stdin before 
raising SystemExit.

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

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


More information about the Patches mailing list