[issue26949] IDLE restarts when one debugs code raising SystemExit

Terry J. Reedy report at bugs.python.org
Tue May 30 14:27:04 EDT 2017


Terry J. Reedy added the comment:

Louie> If you run your example in Python with -i, you will see the same behavior, except for the traceback, as with IDLE.

F:\dev\cpython>python -i -c "x=10; print(x); raise SystemExit"
Running Debug|Win32 interpreter...
10
Traceback (most recent call last):
  File "<string>", line 1, in <module>
SystemExit
>>> x
10

Ditto for "python -i testfile.py".  I would like the behavior to be the same when debugging.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26949>
_______________________________________


More information about the Python-bugs-list mailing list