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

SourceForge.net noreply at sourceforge.net
Wed Aug 16 07:02:28 CEST 2006


Patches item #1540892, was opened at 2006-08-15 15:51
Message generated for change (Comment added) made by kbk
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: Closed
>Resolution: Accepted
Priority: 7
Submitted By: Jim Jewett (jimjjewett)
Assigned to: Kurt B. Kaiser (kbk)
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.

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

>Comment By: Kurt B. Kaiser (kbk)
Date: 2006-08-16 01:02

Message:
Logged In: YES 
user_id=149084

Rev 51306.  Thanks for the patch!

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

Comment By: Kurt B. Kaiser (kbk)
Date: 2006-08-15 23:05

Message:
Logged In: YES 
user_id=149084

Bug  1479785

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

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