[Python-bugs-list] [ python-Bugs-670311 ] sys.exit and PYTHONINSPECT

SourceForge.net noreply@sourceforge.net
Sat, 18 Jan 2003 08:43:08 -0800


Bugs item #670311, was opened at 2003-01-18 08:43
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=670311&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Kevin Altis (kasplat)
Assigned to: Nobody/Anonymous (nobody)
Summary: sys.exit and PYTHONINSPECT

Initial Comment:
If you invoke the Python interpreter with -i, then even 
sys.exit shouldn't kill the interpreter, especially since 
sys.exit generates a SystemExit exception which can 
be caught. I can't think of any other case where -i fails to 
keep the interpreter alive after a script exits, whether 
because of an syntax or runtime error or normal 
termination.

I started a thread on python-dev about this issue:

http://mail.python.org/pipermail/python-dev/2003-
January/032217.html

ka

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=670311&group_id=5470