Message378204
> 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? |
|
Date |
User |
Action |
Args |
2020-10-08 00:13:05 | pablogsal | set | recipients:
+ pablogsal, gvanrossum, eric.smith, lukasz.langa, lys.nikolaou, BTaskaya |
2020-10-08 00:13:05 | pablogsal | set | messageid: <1602115985.92.0.53661414353.issue41967@roundup.psfhosted.org> |
2020-10-08 00:13:05 | pablogsal | link | issue41967 messages |
2020-10-08 00:13:05 | pablogsal | create | |
|