Title: new exit and quit objects
Type: Stage:
Components: Library (Lib) Versions: Python 2.5
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 2006-03-09 23:23 by georg.brandl. This issue is now closed.

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

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 

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 

Looks good.  Check it in!
msg49694 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-03-09 23:23
Logged In: YES 

Committed in rev. 42948.
Date User Action Args
2006-03-09 12:37:59georg.brandlcreate