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 Aivar.Annamaa
Recipients Aivar.Annamaa
Date 2013-07-06.09:35:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373103302.65.0.774257874247.issue18374@psf.upfronthosting.co.za>
In-reply-to
Content
When parsing following program:

1+2-3

ast.parse gives col_offset=3 to outermost BinOp (as shown by the attached test script). Correct col_offset would be 0 for both BinOp-s
History
Date User Action Args
2013-07-06 09:35:02Aivar.Annamaasetrecipients: + Aivar.Annamaa
2013-07-06 09:35:02Aivar.Annamaasetmessageid: <1373103302.65.0.774257874247.issue18374@psf.upfronthosting.co.za>
2013-07-06 09:35:02Aivar.Annamaalinkissue18374 messages
2013-07-06 09:35:02Aivar.Annamaacreate