Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Standardize traceback. #10515
Compress user and location of stdlib/sitepackage.
The drawback is that filename are not copy-pastable to edit files, unless
@takluyver I feel like you will be opinionated on this one.
I'm flexible on the naming and what we compress, but I think it would be great to do that.
I'm happy enough to use the
I'm not convinced on
It's like you know me!
What makes the line so long is having the path and the function signature in one line. From your example,
There the first line is only 65 characters.
We could either do this on every frame (simple and consistent), or only where the single line would exceed some length (so
Yeah, I though about a large refactoring of traceback, you can even omit the filename if two consecutive frames have the same file, and I don't want to go this route (for now), counting line length with current architecture would be a pain.
I've push a simpler commit that just
How does that sounds ?