]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44297: Fix missing line number in generator expressions (GH-26801)
authorMark Shannon <mark@hotpy.org>
Mon, 21 Jun 2021 09:55:15 +0000 (10:55 +0100)
committerGitHub <noreply@github.com>
Mon, 21 Jun 2021 09:55:15 +0000 (10:55 +0100)
commit82e5c28af7049c4f5343c808f172cbe2e145f49b
tree3f02d036472f7ee0ada4a283ba0748cd10c720d8
parent5d2b3a0d688cf8a33db3d266c9e7049c13766a4c
bpo-44297: Fix missing line number in generator expressions (GH-26801)

* Make sure that line number is set when entering comprehension scope in compiler.
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