ipython / ipython/ipython

I would like to hook traceback printing to use better_exceptions

Open
#10,422 8 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
16.8k
Forks
4.5k
Avg merge
1d 2h
Merged PRs (30d)
6

Description

The [better-exceptions package](https://github.com/Qix-/better-exceptions) makes very pretty tracebacks with a lot of useful information in them. It would be nice if ipython could be hooked so that it used that package to print out exception tracebacks.

It doesn't look like the `set_custom_exc` is quite the right thing, partly because it expects that you will want to only handle a small subset of exception types. Also, it has a `tb_offset` argument that isn't terribly well documented.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.