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: <1441973342.5.0.648186635741.issue24965@psf.upfronthosting.co.za> |
2015-09-11 12:09:02 | martin.panter | link | issue24965 messages |
2015-09-11 12:09:02 | martin.panter | create | |
|