Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-20 | py/lexer: Wrap in parenthesis all f-string arguments passed to format. | Jim Mussared | |
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> | |||
2021-08-26 | tests/basics: Split f-string debug printing to separate file with .exp. | Damien George | |
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> |