Show More
@@ -28,5 +28,13 b' __pycache__' | |||
|
28 | 28 | .pytest_cache |
|
29 | 29 | .python-version |
|
30 | 30 | venv*/ |
|
31 | .idea/ | |
|
32 | 31 | .mypy_cache/ |
|
32 | ||
|
33 | # jetbrains ide stuff | |
|
34 | *.iml | |
|
35 | .idea/ | |
|
36 | ||
|
37 | # vscode ide stuff | |
|
38 | *.code-workspace | |
|
39 | .history | |
|
40 | .vscode |
@@ -101,7 +101,6 b' All the changes since then are under the same license as IPython.' | |||
|
101 | 101 | # |
|
102 | 102 | #***************************************************************************** |
|
103 | 103 | |
|
104 | import bdb | |
|
105 | 104 | import inspect |
|
106 | 105 | import linecache |
|
107 | 106 | import sys |
@@ -14,6 +14,7 b'' | |||
|
14 | 14 | import abc |
|
15 | 15 | import ast |
|
16 | 16 | import atexit |
|
17 | import bdb | |
|
17 | 18 | import builtins as builtin_mod |
|
18 | 19 | import dis |
|
19 | 20 | import functools |
@@ -3403,6 +3404,11 b' class InteractiveShell(SingletonConfigurable):' | |||
|
3403 | 3404 | result.error_in_exec = e |
|
3404 | 3405 | self.showtraceback(exception_only=True) |
|
3405 | 3406 | warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1) |
|
3407 | except bdb.BdbQuit: | |
|
3408 | etype, value, tb = sys.exc_info() | |
|
3409 | if result is not None: | |
|
3410 | result.error_in_exec = value | |
|
3411 | # the BdbQuit stops here | |
|
3406 | 3412 | except self.custom_exceptions: |
|
3407 | 3413 | etype, value, tb = sys.exc_info() |
|
3408 | 3414 | if result is not None: |
General Comments 0
You need to be logged in to leave comments.
Login now