Show More
@@ -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 |
@@ -3558,6 +3559,11 b' class InteractiveShell(SingletonConfigurable):' | |||
|
3558 | 3559 | result.error_in_exec = e |
|
3559 | 3560 | self.showtraceback(exception_only=True) |
|
3560 | 3561 | warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1) |
|
3562 | except bdb.BdbQuit: | |
|
3563 | etype, value, tb = sys.exc_info() | |
|
3564 | if result is not None: | |
|
3565 | result.error_in_exec = value | |
|
3566 | # the BdbQuit stops here | |
|
3561 | 3567 | except self.custom_exceptions: |
|
3562 | 3568 | etype, value, tb = sys.exc_info() |
|
3563 | 3569 | if result is not None: |
General Comments 0
You need to be logged in to leave comments.
Login now