]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44297: Fix missing line number in generator expressions (GH-26821)
authorMark Shannon <mark@hotpy.org>
Mon, 21 Jun 2021 10:47:16 +0000 (11:47 +0100)
committerGitHub <noreply@github.com>
Mon, 21 Jun 2021 10:47:16 +0000 (11:47 +0100)
commit7674c83d81905d6afe989ca3f93f08b7939b057c
tree397a2f0c9fea36718b234dca740690f3cf164e17
parent553e10498ac2020e9abdb5302c91bfb235925cef
bpo-44297: Fix missing line number in generator expressions (GH-26821)

* Make sure that line number is set when entering comprehension scope in compiler.

(cherry picked from commit 82e5c28af7049c4f5343c808f172cbe2e145f49b)
Lib/test/test_compile.py
Misc/NEWS.d/next/Core and Builtins/2021-06-19-12-41-13.bpo-44297.F53vHj.rst [new file with mode: 0644]
Python/compile.c
Python/importlib_external.h