[Python-bugs-list] [ python-Bugs-670311 ] sys.exit and PYTHONINSPECT
SourceForge.net
noreply@sourceforge.net
Tue, 04 Mar 2003 15:26:48 -0800
Bugs item #670311, was opened at 2003-01-18 16: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
----------------------------------------------------------------------
Comment By: Michael Stone (mbrierst)
Date: 2003-03-04 23:26
Message:
Logged In: YES
user_id=670441
See patch 697613 for a possible fix.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=670311&group_id=5470