This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: make IDLE honor the quit() builtin
Type: Stage:
Components: IDLE Versions: Python 2.5
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: kbk Nosy List: jimjjewett, kbk
Priority: high Keywords: patch

Created on 2006-08-15 19:51 by jimjjewett, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
idlepyshell.patch.txt jimjjewett, 2006-08-15 19:51 stop overriding the builtin quite
sitequit.patch.txt jimjjewett, 2006-08-15 19:52 and listen when it quits
Messages (3)
msg50914 - (view) Author: Jim Jewett (jimjjewett) Date: 2006-08-15 19:51
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.
msg50915 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2006-08-16 03:05
Logged In: YES 
user_id=149084

Bug  1479785
msg50916 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2006-08-16 05:02
Logged In: YES 
user_id=149084

Rev 51306.  Thanks for the patch!
History
Date User Action Args
2022-04-11 14:56:19adminsetgithub: 43833
2006-08-15 19:51:08jimjjewettcreate