]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46503: Prevent an assert from firing when parsing some invalid \N sequences in...
authorEric V. Smith <ericvsmith@users.noreply.github.com>
Tue, 25 Jan 2022 02:53:27 +0000 (21:53 -0500)
committerGitHub <noreply@github.com>
Tue, 25 Jan 2022 02:53:27 +0000 (21:53 -0500)
commit0daf72194bd4e31de7f12020685bb39a14d6f45e
tree829de3225fde1183fd0ad337af070361daa316e6
parent7c26472d09548905d8c158b26b6a2b12de6cdc32
bpo-46503: Prevent an assert from firing when parsing some invalid \N sequences in f-strings. (GH-30865)

* bpo-46503: Prevent an assert from firing.  Also fix one nearby tiny PEP-7 nit.

* Added blurb.
Lib/test/test_fstring.py
Misc/NEWS.d/next/Core and Builtins/2022-01-24-21-24-41.bpo-46503.4UrPsE.rst [new file with mode: 0644]
Parser/string_parser.c