Skip to content

[3.10] bpo-44297: Fix missing line number in generator expressions (Backport of GH-26801)#26821

Merged
markshannon merged 1 commit intopython:3.10from
markshannon:backport-82e5c28-3.10
Jun 21, 2021
Merged

[3.10] bpo-44297: Fix missing line number in generator expressions (Backport of GH-26801)#26821
markshannon merged 1 commit intopython:3.10from
markshannon:backport-82e5c28-3.10

Conversation

@markshannon
Copy link
Member

@markshannon markshannon commented Jun 21, 2021

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

(cherry picked from commit 82e5c28)

https://bugs.python.org/issue44297

…-26801)

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

(cherry picked from commit 82e5c28)
@markshannon
Copy link
Member Author

@pablogsal Given that this has a news entry, should I remove the equivalent news entry from 3.11?

@markshannon markshannon merged commit 7674c83 into python:3.10 Jun 21, 2021
@pablogsal
Copy link
Member

pablogsal commented Jun 21, 2021

@pablogsal Given that this has a news entry, should I remove the equivalent news entry from 3.11?

No, as this is a backport the news entry should be the same. (The change should appear in both branches)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants