friendly-traceback / friendly

Friendly-traceback's version used in most situations
https://friendly-traceback.github.io/docs/index.html
MIT License
40 stars 5 forks source link

New traceback formatting with stack_data #38

Closed aroberge closed 1 year ago

aroberge commented 1 year ago

See https://github.com/friendly-traceback/friendly-traceback/issues/152

Note: some statements like

raise LookupError("Fake message")

used to be entirely highlighted. However, after working on issue 152 mentioned above, with the latest version using stack_data, they are no longer highlighted. This is ok for friendly_traceback, but with the coloured highlighting provided by friendly, it makes sense to highlight them.

Tasks:

aroberge commented 1 year ago

The formatting is still not quite right in some cases: image

aroberge commented 1 year ago

image