Skip to content

PEP 525 Documentation doesn't seem to reflect actual behavior for a yield in a finally #132104

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

Open
cowfoodbagman opened this issue Apr 5, 2025 · 0 comments
Labels
docs Documentation in the Doc dir

Comments

@cowfoodbagman
Copy link

Documentation

PEP 525 states "Raise a RuntimeError, when an asynchronous generator executes a yield expression in its finally block"
That doesn't actually seem to be the case. I am primarily looking for some clarification on what the actual expectation is.

@cowfoodbagman cowfoodbagman added the docs Documentation in the Doc dir label Apr 5, 2025
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: Todo
Development

No branches or pull requests

1 participant