Issue 1540892: make IDLE honor the quit() builtin (original) (raw)

Issue1540892

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:19 admin set github: 43833
2006-08-15 19:51:08 jimjjewett create