New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For multiline return statements show more than the first line #4
Comments
The division of line into 'pieces' in https://github.com/alexmojaki/stack_data will let you do this without having to add extra lines of context for single-line statements. |
There's a point in leaving it be though: the standard traceback printouts have only the first line the same way. I'll look for a way to implement it with this constraints:
I looked through the |
That's fine, that's what linecache is for.
Pieces split lines up according to statements. You can get just the main piece by providing
stack_data doesn't provide that, but it's a bit of a weird goal. Can you show an example and explain why you want that? |
Now only the first line in showed.
The text was updated successfully, but these errors were encountered: