Merge pull request #12413 from Carreau/print_exc...
Matthias Bussonnier -
r25869:c38a9a86 merge
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -112,8 +112,11 class IPythonPTCompleter(Completer):
112 try:
112 try:
113 yield from self._get_completions(body, offset, cursor_position, self.ipy_completer)
113 yield from self._get_completions(body, offset, cursor_position, self.ipy_completer)
114 except Exception as e:
114 except Exception as e:
115 from traceback import print_tb
115 try:
116 print_tb(e)
116 exc_type, exc_value, exc_tb = sys.exc_info()
117 traceback.print_exception(exc_type, exc_value, exc_tb)
118 except AttributeError:
119 print('Unrecoverable Error in completions')
117
120
118 @staticmethod
121 @staticmethod
119 def _get_completions(body, offset, cursor_position, ipyc):
122 def _get_completions(body, offset, cursor_position, ipyc):
Comments 0
You need to be logged in to leave comments. Login now