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 pablogsal
Recipients BTaskaya, eric.smith, gvanrossum, lukasz.langa, lys.nikolaou, pablogsal
Date 2020-10-08.00:13:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602115985.92.0.53661414353.issue41967@roundup.psfhosted.org>
In-reply-to
Content
> I remember the char* pointer where the expression starts, then I parse the expression into an AST, then I note the char* pointer where the expression ended. The text between those is what's output before the equal sign []. This is how I preserve all of the whitespace inside the expression.

Unless I am missing something, the problem is that the tokenizer has thrown away the extra newlines so we cannot keep the pointer where the expression starts. Also, I am not sure if this is the same scenario because f-strings cannot contain newlines in the expression brackets, can't they?
History
Date User Action Args
2020-10-08 00:13:05pablogsalsetrecipients: + pablogsal, gvanrossum, eric.smith, lukasz.langa, lys.nikolaou, BTaskaya
2020-10-08 00:13:05pablogsalsetmessageid: <1602115985.92.0.53661414353.issue41967@roundup.psfhosted.org>
2020-10-08 00:13:05pablogsallinkissue41967 messages
2020-10-08 00:13:05pablogsalcreate