This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chris.jerdonek
Recipients chris.jerdonek, ned.deily, vstinner
Date 2012-07-27.02:34:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343356442.95.0.402133432879.issue15463@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-07-27 02:34:02chris.jerdoneksetrecipients: + chris.jerdonek, vstinner, ned.deily
2012-07-27 02:34:02chris.jerdoneksetmessageid: <1343356442.95.0.402133432879.issue15463@psf.upfronthosting.co.za>
2012-07-27 02:34:02chris.jerdoneklinkissue15463 messages
2012-07-27 02:34:01chris.jerdonekcreate