Issue 1446372: new exit and quit objects (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/43002

classification

Title: new exit and quit objects
Type: Stage:
Components: Library (Lib) Versions: Python 2.5

process

Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, gvanrossum, jimjjewett
Priority: normal Keywords: patch

Created on 2006-03-09 12:37 by georg.brandl, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
quitter.diff georg.brandl,2006-03-09 12:38 v1
Messages (4)
msg49691 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-03-09 12:37
As discussed on python-dev, starting with http://mail.python.org/pipermail/python-dev/2006-March/062156.html. Here I'm taking the "quit() is synonymous to sys.exit()" with a special __repr__ approach. An alternative would be the "quit() -> SystemExit("quit() called")" approach.
msg49692 - (view) Author: Jim Jewett (jimjjewett) Date: 2006-03-09 16:13
Logged In: YES user_id=764593 Georg -- I just assigned you RFE 1404859, because this patch would close it.
msg49693 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2006-03-09 22:53
Logged In: YES user_id=6380 Looks good. Check it in!
msg49694 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-03-09 23:23
Logged In: YES user_id=849994 Committed in rev. 42948.
History
Date User Action Args
2022-04-11 14:56:15 admin set github: 43002
2006-03-09 12:37:59 georg.brandl create