Chris Jerdonek <chris.jerdo...@gmail.com> added the comment: 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. ---------- nosy: +cjerdonek _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15463> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com