pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/ipython/ipython/pull/15168

ts/global-0bd78641c0a1f3e0.css" /> fix: show repr_mimebundle NotImplementedError tracebacks by Maa-ly · Pull Request #15168 · ipython/ipython · GitHub
Skip to content

fix: show repr_mimebundle NotImplementedError tracebacks#15168

Open
Maa-ly wants to merge 1 commit intoipython:mainfrom
Maa-ly:fix/repr-mimebundle-notimplemented
Open

fix: show repr_mimebundle NotImplementedError tracebacks#15168
Maa-ly wants to merge 1 commit intoipython:mainfrom
Maa-ly:fix/repr-mimebundle-notimplemented

Conversation

@Maa-ly
Copy link
Copy Markdown

@Maa-ly Maa-ly commented Mar 26, 2026

Closes #15154

Summary

  • keep swallowing NotImplementedError for the classic _repr_*_ formatter opt-out path
  • stop silently discarding NotImplementedError raised from _repr_mimebundle_ by routing it through the normal traceback fallback instead
  • add a regression test covering the _repr_mimebundle_ case while preserving the existing formatter fallback to text/plain

Validation

  • source .venv/bin/activate && pytest tests/test_formatters.py -q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

_repr_mimebundle_ ignores NotImplementedError

1 participant

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy