Message166535
This might be obvious to some people, but for background purposes, this seems to be where the file name gets truncated (in the dump_frame() function):
write(fd, "\"", 1);
dump_ascii(fd, code->co_filename);
write(fd, "\"", 1);
http://hg.python.org/cpython/file/ddf15cd9be4a/Python/traceback.c#l564
Out of curiosity, I wonder if we have a test to check the formatting of tracebacks for long file names, which would be nice to have. I didn't see one. |
|
Date |
User |
Action |
Args |
2012-07-27 02:34:02 | chris.jerdonek | set | recipients:
+ chris.jerdonek, vstinner, ned.deily |
2012-07-27 02:34:02 | chris.jerdonek | set | messageid: <1343356442.95.0.402133432879.issue15463@psf.upfronthosting.co.za> |
2012-07-27 02:34:02 | chris.jerdonek | link | issue15463 messages |
2012-07-27 02:34:01 | chris.jerdonek | create | |
|