def init_traceback_handlers(self, custom_exceptions):
    self.SyntaxTB = ultratb.SyntaxTB(color_scheme='NoColor', parent=self)
    self.InteractiveTB = ultratb.AutoFormattedTB(mode='Plain', color_scheme='NoColor', tb_offset=1, check_cache=check_linecache_ipython, debugger_cls=self.debugger_cls, parent=self)
    self.sys_excepthook = sys.excepthook
    self.set_custom_exc(*custom_exceptions)
    self.InteractiveTB.set_mode(mode=self.xmode)
def init_traceback_handlers(self, custom_exceptions):
    self.SyntaxTB = ultratb.SyntaxTB(color_scheme='NoColor', parent=self)
    self.InteractiveTB = ultratb.AutoFormattedTB(mode='Plain', color_scheme='NoColor', tb_offset=1, check_cache=check_linecache_ipython, debugger_cls=self.debugger_cls, parent=self)
    self.sys_excepthook = sys.excepthook
    self.set_custom_exc(*custom_exceptions)
    self.InteractiveTB.set_mode(mode=self.xmode)