Message274841
The problem relates to how f-strings are re-created.
For the input file foo.txt containing this one line:
f'''{"'"}'''
Run:
./python Tools/parser/test_unparse.py foo.txt
Gives this output:
f'{"\'"}'
This result is not a valid f-string, since it contains a backslash inside the expression part of the f-string.
The input string is a valid f-string:
>>> f'''{"'"}'''
"'" |
|
Date |
User |
Action |
Args |
2016-09-07 17:18:18 | eric.smith | set | recipients:
+ eric.smith |
2016-09-07 17:18:18 | eric.smith | set | messageid: <1473268698.62.0.800338957351.issue28002@psf.upfronthosting.co.za> |
2016-09-07 17:18:18 | eric.smith | link | issue28002 messages |
2016-09-07 17:18:18 | eric.smith | create | |
|