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 vstinner
Recipients Mark.Shannon, brett.cannon, gvanrossum, python-dev, rhettinger, serhiy.storchaka, vstinner, ztane
Date 2016-01-20.11:34:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453289641.97.0.829019562221.issue26107@psf.upfronthosting.co.za>
In-reply-to
Content
> Nice work, my issue21385 is also related. Basically, transforming non-Python code into Python meant that all line number information, which otherwise would have been useful for debugging, had to be discarded, or debug builds of Python would dump cores.

Ok, it looks like there are multiple use cases for negative line numbers, and the change doesn't really break anything in practice. I tried to explain exactly who is impacted and how to update the code in the Porting section of What's New in Python 3.6.

For each review Serhiy. I pushed the the change to Python 3.6.
History
Date User Action Args
2016-01-20 11:34:02vstinnersetrecipients: + vstinner, gvanrossum, brett.cannon, rhettinger, Mark.Shannon, python-dev, serhiy.storchaka, ztane
2016-01-20 11:34:01vstinnersetmessageid: <1453289641.97.0.829019562221.issue26107@psf.upfronthosting.co.za>
2016-01-20 11:34:01vstinnerlinkissue26107 messages
2016-01-20 11:34:01vstinnercreate