]> 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:16:05 +0000 (03:16 -0800)
committerGitHub <noreply@github.com>
Wed, 16 Feb 2022 11:16:05 +0000 (03:16 -0800)
commit3d407b931156bc3ee5ae131de2f2babad831ccb2
tree50081f0a6b119a594bcdef4b3db38c22d97cc399
parent5b63ba3ff5ab56ebf0ed1173cf01dd23169e3dfe
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/string_parser.c