Message250465
Another version of that AST that is better for my digestion:
f'a={a}'
Module(body=[Expr(
value=JoinedStr(values=[
Str(s='a='),
FormattedValue(
value=Name(id='a', ctx=Load()),
conversion=0,
format_spec=None,
),
]),
)])
I have been reading over the test cases, and left a bunch of suggestions for more edge cases etc. Some of them might reflect that I haven’t completely learnt how the inner Python expression syntax, outer string escaping syntax, {{curly bracket}} escaping, automatic concatenation, etc, are all meant to fit together. |
|
| Date |
User |
Action |
Args |
| 2015-09-11 12:09:02 | martin.panter | set | recipients:
+ martin.panter, barry, eric.smith, python-dev, yselivanov |
| 2015-09-11 12:09:02 | martin.panter | set | messageid: <[email protected]> |
| 2015-09-11 12:09:02 | martin.panter | link | issue24965 messages |
| 2015-09-11 12:09:02 | martin.panter | create | |
|