##// END OF EJS Templates
bugfix for call to structured_traceback (#14453)...
bugfix for call to structured_traceback (#14453) Calls to `structured_traceback` take the exploded 3-tuple of `*sys.exc_info()` as separate arguments, so we don't want to pass the 3-tuple as one argument. This should fix some of the symptoms people are seeing in https://github.com/ipython/ipython/issues/12831 Test plan: local editable install, seems to work OK. Haven't tried to repro the problem from the linked issue but this change probably can't hurt. From https://github.com/ipython/ipython/pull/14454, which is just an empty commit, I see the same test failures as in this PR's "Run Downstream tests" job: https://github.com/ipython/ipython/actions/runs/9375565881/job/25813901627?pr=14454 So I'm guessing it's not related to the change in this PR.

File last commit:

r28404:a6441287
r28790:1454013b merge
Show More
display.py
44 lines | 1.5 KiB | text/x-python | PythonLexer
"""Public API for display tools in IPython.
"""
# -----------------------------------------------------------------------------
# Copyright (C) 2012 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Imports
# -----------------------------------------------------------------------------
from IPython.core.display_functions import *
from IPython.core.display import (
display_pretty as display_pretty,
display_html as display_html,
display_markdown as display_markdown,
display_svg as display_svg,
display_png as display_png,
display_jpeg as display_jpeg,
display_latex as display_latex,
display_json as display_json,
display_javascript as display_javascript,
display_pdf as display_pdf,
DisplayObject as DisplayObject,
TextDisplayObject as TextDisplayObject,
Pretty as Pretty,
HTML as HTML,
Markdown as Markdown,
Math as Math,
Latex as Latex,
SVG as SVG,
ProgressBar as ProgressBar,
JSON as JSON,
GeoJSON as GeoJSON,
Javascript as Javascript,
Image as Image,
set_matplotlib_formats as set_matplotlib_formats,
set_matplotlib_close as set_matplotlib_close,
Video as Video,
)
from IPython.lib.display import *