Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | py/lexer: Wrap in parenthesis all f-string arguments passed to format. | Jim Mussared | 2023-01-20 |
| | | | | | | | | | | | | | | This is important for literal tuples, e.g. f"{a,b,}, {c}" --> "{}".format((a,b), (c),) which would otherwise result in either a syntax error or the wrong result. Fixes issue #9635. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com> | ||
* | tests/basics: Split f-string debug printing to separate file with .exp. | Damien George | 2021-08-26 |
This feature {x=} was introduced in Python 3.8 so needs a separate .exp file to run on earlier Python versions. See https://bugs.python.org/issue36817 Signed-off-by: Damien George <damien@micropython.org> |