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 r.david.murray
Recipients dmi.baranov, ezio.melotti, flox, georg.brandl, giampaolo.rodola, icordasc, lesmana, ncoghlan, petri.lehtinen, psss, r.david.murray, terry.reedy
Date 2013-04-30.18:58:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The point is to print one logical line.  Printing a fragment of the logical line is clearly not very helpful...I have found myself a number of times looking for the bug in the fragment printed, and (quickly, but still...) then remembering that the traceback just prints the last physical line and the problem might be earlier.

Providing a caret is probably impossible.  I don't think the bytecode contains enough information to even make a guess as to where a caret should go.  I'm not even sure we can get the logical line.
Date User Action Args
2013-04-30 18:58:08r.david.murraysetrecipients: + r.david.murray, georg.brandl, terry.reedy, ncoghlan, giampaolo.rodola, ezio.melotti, psss, flox, lesmana, petri.lehtinen, icordasc, dmi.baranov
2013-04-30 18:58:08r.david.murraysetmessageid: <>
2013-04-30 18:58:08r.david.murraylinkissue12458 messages
2013-04-30 18:58:08r.david.murraycreate