]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-132661: Disallow `Template`/`str` concatenation after PEP 750 spec update (#135996)
authorDave Peck <davepeck@gmail.com>
Mon, 21 Jul 2025 06:44:26 +0000 (23:44 -0700)
committerGitHub <noreply@github.com>
Mon, 21 Jul 2025 06:44:26 +0000 (08:44 +0200)
commitc5e77af131aa0c8832a9ee50c4410731254e4209
treec1e8d3999c7f177116ae5653d8c6bcc33c8fb170
parent246be21de1e2a51d757c747902108dfec13e0605
gh-132661: Disallow `Template`/`str` concatenation after PEP 750 spec update (#135996)

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
13 files changed:
Grammar/python.gram
Lib/_ast_unparse.py
Lib/test/test_ast/test_ast.py
Lib/test/test_tstring.py
Lib/test/test_unparse.py
Misc/NEWS.d/next/Core_and_Builtins/2025-07-08-23-22-08.gh-issue-132661.34ftJl.rst [new file with mode: 0644]
Objects/templateobject.c
Objects/unicodeobject.c
Parser/action_helpers.c
Parser/parser.c
Parser/pegen.h
Python/ast_unparse.c
Python/codegen.c