staticshock / colored-traceback.py

Automatically color Python's uncaught exception tracebacks
ISC License
58 stars 11 forks source link

Do not strip the traceback #9

Closed mjpieters closed 4 months ago

mjpieters commented 5 years ago

SyntaxError tracebacks start with two spaces; when stripped the traceback is not properly highlighted. Since the only text that is being lexed is produced by the traceback module, there is no need to strip anything.

Fixes #8

staticshock commented 4 months ago

Good point! Sorry I'm late to the party.