##// END OF EJS Templates
Fix case where some Exceptions have no traceback. (#14153)...
Fix case where some Exceptions have no traceback. (#14153) In chained exception if some exceptions does not have tracebacks, prevent jumping to them. We also add the assert that the main exception does have a traceback. This is a partial port of python/cpython commit 5f3433f210d25d366fcebfb40adf444c8f46cd59

File last commit:

r27960:3455b573
r28391:15554be2 merge
Show More
__main__.py
15 lines | 488 B | text/x-python | PythonLexer
# PYTHON_ARGCOMPLETE_OK
# encoding: utf-8
"""Terminal-based IPython entry point.
"""
#-----------------------------------------------------------------------------
# Copyright (c) 2012, IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
from IPython import start_ipython
start_ipython()