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 mystor
Recipients berker.peksag, martin.panter, mystor, serhiy.storchaka, vstinner, yan12125
Date 2016-11-07.16:26:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478536003.44.0.282612670131.issue25677@psf.upfronthosting.co.za>
In-reply-to
Content
This patch fixes a problem, which is that the caret was not placed where the source location information for the node is, but instead in a random position based on the indentation level.

The problem that the caret is not placed under the `=` sign, but instead at the front of the expression, feels like a different bug related to how source location information is computed throughout cpython for infix operators. I don't think it should be fixed in this bug, but rather in a follow-up.

Specifically, this fix (to make the printing actually respect the source location information) will also be required in order to fix the placement of the caret to under the = sign.
History
Date User Action Args
2016-11-07 16:26:43mystorsetrecipients: + mystor, vstinner, berker.peksag, martin.panter, serhiy.storchaka, yan12125
2016-11-07 16:26:43mystorsetmessageid: <1478536003.44.0.282612670131.issue25677@psf.upfronthosting.co.za>
2016-11-07 16:26:43mystorlinkissue25677 messages
2016-11-07 16:26:43mystorcreate