[issue41064] f-string SyntaxError gives offset within fake line, other issues

2020-06-21 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue41064] f-string SyntaxError gives offset within fake line, other issues

2020-06-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +epaine ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue41064] f-string SyntaxError gives offset within fake line, other issues

2020-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE highlights the location of a SyntaxError according to its .lineno and .offset attributes. For expressions within braces within f strings, the reported offset is respect to the expression augmented with surrounding ()s added, not the actual physical lin