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: friendly quit object
Type: enhancement Stage:
Components: Interpreter Core Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, jimjjewett
Priority: normal Keywords:

Created on 2006-01-13 15:25 by jimjjewett, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg54711 - (view) Author: Jim Jewett (jimjjewett) Date: 2006-01-13 15:25
Today, there is no cross-platform way to quit.

Today, typing quit returns a message that suggests the 
interpreter is willfully disobeying you.

Instead, change the quit object to one whose __call__ 
will exit, and whose __str__ says something like

"""
quit() exits the interpreter, by calling this quit 
object.
"""
msg54712 - (view) Author: Jim Jewett (jimjjewett) Date: 2006-01-13 15:26
Logged In: YES 
user_id=764593

Rewording welcome; the point is that it should explain *why* 
it can't just exit immediately, unless it is explicitly 
called.
msg54713 - (view) Author: Jim Jewett (jimjjewett) Date: 2006-03-09 16:10
Logged In: YES 
user_id=764593

This RFE would be answered by applying patch 1446372
msg54714 - (view) Author: Jim Jewett (jimjjewett) Date: 2006-03-09 16:11
Logged In: YES 
user_id=764593


msg54715 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-03-09 23:25
Logged In: YES 
user_id=849994

Patch 1446372 is now applied in rev. 42948.
History
Date User Action Args
2022-04-11 14:56:15adminsetgithub: 42794
2006-01-13 15:25:17jimjjewettcreate