]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-129958: Properly disallow newlines in format specs in single-quoted f-strin...
authorŁukasz Langa <lukasz@langa.pl>
Fri, 18 Apr 2025 15:41:42 +0000 (17:41 +0200)
committerGitHub <noreply@github.com>
Fri, 18 Apr 2025 15:41:42 +0000 (17:41 +0200)
commita37d719d37ba0f45d0e88f1f70ccd66f2a4f209e
tree5db8438fb3b9c5976166534f29d2921884ce5375
parentca2e1a1e1c1f6b6489f6e354984f89bb1f72a7fd
[3.13] gh-129958: Properly disallow newlines in format specs in single-quoted f-strings (GH-130063) (GH-132692)

(cherry picked from commit 2f8b08da475152adea59b6bf98e2d0cb73dd8a59)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Lib/test/test_fstring.py
Lib/test/test_tokenize.py
Misc/NEWS.d/next/Core and Builtins/2025-02-13-00-14-24.gh-issue-129958.Uj7lyY.rst [new file with mode: 0644]
Parser/lexer/lexer.c