]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-151907: Avoid creating temporary objects in some list comprehensions (GH-151908)
authorPeter Bierma <zintensitydev@gmail.com>
Tue, 14 Jul 2026 15:06:29 +0000 (11:06 -0400)
committerGitHub <noreply@github.com>
Tue, 14 Jul 2026 15:06:29 +0000 (11:06 -0400)
commita78589851b3883a061b8fa9f5fdabafb6036fd63
tree82737a8585c304a7297635a066ba271ab32432d2
parent066811ed6a36e1e966eab86932dd1b6dda7424ab
gh-151907: Avoid creating temporary objects in some list comprehensions (GH-151908)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Lib/test/test_compile.py
Lib/test/test_compiler_codegen.py
Lib/test/test_dictcomps.py
Lib/test/test_listcomps.py
Lib/test/test_setcomps.py
Misc/NEWS.d/next/Core_and_Builtins/2026-06-22-02-42-38.gh-issue-151907.6Tol_J.rst [new file with mode: 0644]
Python/codegen.c