Visitar URL original
bpo-13814: Explain why generators are not context managers by terryjreedy · Pull Request #26835 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20221223111648/https://github.com/python/cpython/pull/26835
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-13814: Explain why generators are not context managers #26835

Merged
merged 3 commits into from Jun 21, 2021

Conversation

terryjreedy
Copy link
Member

@terryjreedy terryjreedy commented Jun 21, 2021 •

Original patch by Aidan Lowe.

https://bugs.python.org/issue13814

Doc/faq/design.rst Outdated Show resolved Hide resolved
Doc/faq/design.rst Outdated Show resolved Hide resolved
terryjreedy and others added 2 commits Jun 21, 2021
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
@terryjreedy terryjreedy merged commit 51f45d0 into python:main Jun 21, 2021
13 checks passed
@miss-islington
Copy link
Contributor

miss-islington commented Jun 21, 2021

Thanks @terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.9.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 21, 2021
…26835)

Put entry in Design FAQ after a question about a context manager for assignment.
Original patch by Aidan Lowe.
(cherry picked from commit 51f45d0)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@bedevere-bot
Copy link

bedevere-bot commented Jun 21, 2021

GH-26836 is a backport of this pull request to the 3.10 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 21, 2021
…26835)

Put entry in Design FAQ after a question about a context manager for assignment.
Original patch by Aidan Lowe.
(cherry picked from commit 51f45d0)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@bedevere-bot
Copy link

bedevere-bot commented Jun 21, 2021

GH-26837 is a backport of this pull request to the 3.9 branch.

@terryjreedy terryjreedy deleted the withgen branch Jun 21, 2021
terryjreedy added a commit that referenced this pull request Jun 21, 2021
Put entry in Design FAQ after a question about a context manager for assignment.
Original patch by Aidan Lowe.
(cherry picked from commit 51f45d0)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
terryjreedy added a commit that referenced this pull request Jun 21, 2021
Put entry in Design FAQ after a question about a context manager for assignment.
Original patch by Aidan Lowe.
(cherry picked from commit 51f45d0)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
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
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants