Qix- / better-exceptions

Pretty and useful exceptions in Python, automatically.
MIT License
4.59k stars 203 forks source link

get_traceback_information: support frames #84

Closed blueyed closed 5 years ago

blueyed commented 5 years ago

I am experimenting with using it from pdbpp, where only the frame is available there.

blueyed commented 5 years ago

I am probably not using it for frames, so feel free to close it - but it might be good to support frames (via an extra interface maybe) still.

Qix- commented 5 years ago

Could you explain a bit what this is doing?

blueyed commented 5 years ago

I wanted to use better-exceptions for tracebacks in pdbpp / pdb (the w command), but there only frames are available. Therefore I wanted to use this to annotate those frames. But it turns out to be very noisy, and I will not use it for this.

Qix- commented 5 years ago

I think that's a bit out of scope. Perhaps if it can be done in an elegant way we could re-introduce the idea. Thanks for the work put in though!