Skip to content

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jun 10, 2025

Document that the iterator for the leftmost "for" clause is created immediately.


📚 Documentation preview 📚: https://cpython-previews--135351.org.readthedocs.build/

Document that the iterator for the leftmost "for" clause is created
immediately.
@gpshead gpshead merged commit 8979d3a into python:main Jun 15, 2025
28 checks passed
@miss-islington-app
Copy link

Thanks @serhiy-storchaka for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Jun 15, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 15, 2025
…ythonGH-135351)

* pythongh-135171: Update documentation for the generator expression

Document that the iterator for the leftmost "for" clause is created
immediately.

* Update Doc/reference/expressions.rst

Co-authored-by: Brian Skinn <[email protected]>

---------
(cherry picked from commit 8979d3a)

Co-authored-by: Serhiy Storchaka <[email protected]>
Co-authored-by: Brian Skinn <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 15, 2025
…ythonGH-135351)

* pythongh-135171: Update documentation for the generator expression

Document that the iterator for the leftmost "for" clause is created
immediately.

* Update Doc/reference/expressions.rst

Co-authored-by: Brian Skinn <[email protected]>

---------
(cherry picked from commit 8979d3a)

Co-authored-by: Serhiy Storchaka <[email protected]>
Co-authored-by: Brian Skinn <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Jun 15, 2025

GH-135524 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Jun 15, 2025
@bedevere-app
Copy link

bedevere-app bot commented Jun 15, 2025

GH-135525 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jun 15, 2025
gpshead pushed a commit that referenced this pull request Jun 15, 2025
…H-135351) (#135524)

gh-135171: Update documentation for the generator expression (GH-135351)

* gh-135171: Update documentation for the generator expression

Document that the iterator for the leftmost "for" clause is created
immediately.

* Update Doc/reference/expressions.rst



---------
(cherry picked from commit 8979d3a)

Co-authored-by: Serhiy Storchaka <[email protected]>
Co-authored-by: Brian Skinn <[email protected]>
gpshead pushed a commit that referenced this pull request Jun 15, 2025
…H-135351) (GH-135525)

gh-135171: Update documentation for the generator expression (GH-135351)

* gh-135171: Update documentation for the generator expression

Document that the iterator for the leftmost "for" clause is created
immediately.

* Update Doc/reference/expressions.rst



---------
(cherry picked from commit 8979d3a)

Co-authored-by: Serhiy Storchaka <[email protected]>
Co-authored-by: Brian Skinn <[email protected]>
shuimu5418 pushed a commit to shuimu5418/cpython001 that referenced this pull request Jun 16, 2025
…ythonGH-135351)

* pythongh-135171: Update documentation for the generator expression

Document that the iterator for the leftmost "for" clause is created
immediately.

* Update Doc/reference/expressions.rst

Co-authored-by: Brian Skinn <[email protected]>

---------

Co-authored-by: Brian Skinn <[email protected]>
lkollar pushed a commit to lkollar/cpython that referenced this pull request Jun 19, 2025
…ythonGH-135351)

* pythongh-135171: Update documentation for the generator expression

Document that the iterator for the leftmost "for" clause is created
immediately.

* Update Doc/reference/expressions.rst

Co-authored-by: Brian Skinn <[email protected]>

---------

Co-authored-by: Brian Skinn <[email protected]>
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
…ythonGH-135351)

* pythongh-135171: Update documentation for the generator expression

Document that the iterator for the leftmost "for" clause is created
immediately.

* Update Doc/reference/expressions.rst

Co-authored-by: Brian Skinn <[email protected]>

---------

Co-authored-by: Brian Skinn <[email protected]>
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
…ythonGH-135351)

* pythongh-135171: Update documentation for the generator expression

Document that the iterator for the leftmost "for" clause is created
immediately.

* Update Doc/reference/expressions.rst

Co-authored-by: Brian Skinn <[email protected]>

---------

Co-authored-by: Brian Skinn <[email protected]>
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
…ythonGH-135351)

* pythongh-135171: Update documentation for the generator expression

Document that the iterator for the leftmost "for" clause is created
immediately.

* Update Doc/reference/expressions.rst

Co-authored-by: Brian Skinn <[email protected]>

---------

Co-authored-by: Brian Skinn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants