◐ Shell
clean mode source ↗

Message 294775 - Python tracker

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.