Clemens Korndörfer
Clemens Korndörfer
(It can still be useful to have it enabled in interactive sessions, because exceptions in code _called_ from the shell will work. Alternatively, in ipython this example also works)
Of course, it would be nice! The trouble is that the plain python shell doesn't allow me to access the source code (or at least, the `inspect` module doesn't find...
Thanks!
Hey! I want to help, so I just cloned your repo to run the test case - I didn't immediately succeed though: I'm on your Develop branch, in a fresh...
Looking at that log output, I just realized something - could it be that it is working as advertised? From the docs ``` suppressed_paths: list of regex patterns Set less...
I have to keep the maintainability of the code in mind (and it's already somewhat riddled with edge cases), so I'd be a bad maintainer if I didn't hesitate here....
Is that because the call stack goes in and out of that library multiple times? Right now my mental picture is that the new flag would compress just one frame...
got it! I'll need to poke around in the source code to see how messy the various options would be. It touches areas that have been waiting for a refactor..
I'm playing around with the idea of returning more structured data over here https://github.com/cknd/stackprinter/pull/47 - it's less hard to do than I thought, and probably an overall architecture improvement
Ah I see I agree that that would be a nice API. And a better architecture for stackprinter internally (e.g. Frames are objects with a format method, tracebacks are lists...