Issue 670311: sys.exit and PYTHONINSPECT (original) (raw)

Issue670311

Created on 2003-01-18 16:43 by kasplat, last changed 2022-04-10 16:06 by admin. This issue is now closed.

Messages (3)
msg14119 - (view) Author: Kevin Altis (kasplat) Date: 2003-01-18 16:43
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
msg14120 - (view) Author: Michael Stone (mbrierst) Date: 2003-03-04 23:26
Logged In: YES user_id=670441 See patch 697613 for a possible fix.
msg14121 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-03-07 00:35
This was now fixed in rev. 54188.
History
Date User Action Args
2022-04-10 16:06:09 admin set github: 37795
2003-01-18 16:43:08 kasplat create