]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] GH-135171: Fix generator expressions one last time (hopefully) (GH-135225)
authorMark Shannon <mark@hotpy.org>
Mon, 9 Jun 2025 10:04:23 +0000 (11:04 +0100)
committerGitHub <noreply@github.com>
Mon, 9 Jun 2025 10:04:23 +0000 (11:04 +0100)
commita5274cd2158a0c7eaa6f54b4e74f8b4e92195e5e
treebff6cd04620c026877f60eb92933f090822412a0
parent1497866198d0c05fc5f57a567c2440ec1c7f6d26
[3.14] GH-135171: Fix generator expressions one last time (hopefully) (GH-135225)

* Add NULL check to FOR_ITER

* Move GET_ITER back to genexpr creation
Lib/test/test_dis.py
Lib/test/test_generators.py
Lib/test/test_genexps.py
Misc/NEWS.d/next/Core_and_Builtins/2025-06-06-18-57-30.gh-issue-135171.0YtLq6.rst [new file with mode: 0644]
Python/bytecodes.c
Python/codegen.c
Python/executor_cases.c.h
Python/generated_cases.c.h