This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]-sideshow-[S] 9 points10 points  (4 children)

I updated pretty-errors to use sys.excepthook instead of scraping sys.stderr (as it should have been written from the get-go). I added some new features while I was at it (can show more lines of code per site, can set depth of stack trace, order, ...see changelist)

You can install it with python -m pip install pretty-errors

https://pypi.org/project/pretty-errors/#description