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 veky
Recipients veky
Date 2019-03-20.02:23:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1553048588.12.0.98853436877.issue36376@roundup.psfhosted.org>
In-reply-to
Content
Open IDLE, New File, put this inside:

    'abcde\
    ')
    x = 123456789

And try to Run Module. Of course, the syntax error is extra ) at the end of the second line. But it is not highlighted. What's highlighted is 123 in the third line. Some additional observations:

* the length of the first line determines somehow what's highlighted in the third one: the longer the first line, more to the right the highlight goes in the third;

* third line can be whatever you want, it just needs to be long enough for a highlight to appear;

* you can even have blank lines between them;

* the same phenomenon appears if you use triple-quoted strings instead of single-quoted with backslash line continuation.
History
Date User Action Args
2019-03-20 02:23:08vekysetrecipients: + veky
2019-03-20 02:23:08vekysetmessageid: <1553048588.12.0.98853436877.issue36376@roundup.psfhosted.org>
2019-03-20 02:23:08vekylinkissue36376 messages
2019-03-20 02:23:07vekycreate