]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46762: Fix an assert failure in f-strings where > or < is the last character...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 16 Feb 2022 11:18:16 +0000 (03:18 -0800)
committerGitHub <noreply@github.com>
Wed, 16 Feb 2022 11:18:16 +0000 (03:18 -0800)
commita657bff34945e40be24cd75d02560a93b7623cf5
treeb2e076d63d447c3a735844a692ea645105d15186
parentc292118ef3528df85a9d76ad21029009b560b088
bpo-46762: Fix an assert failure in f-strings where > or < is the last character if the f-string is missing a trailing right brace. (GH-31365)

(cherry picked from commit ffd9f8ff84ed53c956b16d027f7d2926ea631051)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
Lib/test/test_fstring.py
Misc/NEWS.d/next/Core and Builtins/2022-02-15-20-26-46.bpo-46762.1H7vab.rst [new file with mode: 0644]
Parser/pegen/parse_string.c