diff --git a/IPython/terminal/ptutils.py b/IPython/terminal/ptutils.py index 3cf3c11..3e5d3c5 100644 --- a/IPython/terminal/ptutils.py +++ b/IPython/terminal/ptutils.py @@ -9,6 +9,8 @@ not to be used outside IPython. import unicodedata from wcwidth import wcwidth +import sys +import traceback from IPython.core.completer import ( provisionalcompleter, cursor_to_position,