diff options
author | Eric V. Smith <ericvsmith@users.noreply.github.com> | 2022-01-25 02:53:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-25 02:53:27 (GMT) |
commit | 0daf72194bd4e31de7f12020685bb39a14d6f45e (patch) | |
tree | 829de3225fde1183fd0ad337af070361daa316e6 /Misc/NEWS.d | |
parent | 7c26472d09548905d8c158b26b6a2b12de6cdc32 (diff) | |
download | cpython-0daf72194bd4e31de7f12020685bb39a14d6f45e.zip cpython-0daf72194bd4e31de7f12020685bb39a14d6f45e.tar.gz cpython-0daf72194bd4e31de7f12020685bb39a14d6f45e.tar.bz2 |
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.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2022-01-24-21-24-41.bpo-46503.4UrPsE.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-24-21-24-41.bpo-46503.4UrPsE.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-24-21-24-41.bpo-46503.4UrPsE.rst new file mode 100644 index 0000000..e48028d --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2022-01-24-21-24-41.bpo-46503.4UrPsE.rst @@ -0,0 +1 @@ +Fix an assert when parsing some invalid \N escape sequences in f-strings. |