Skip to content

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

@cowfoodbagman

Description

@cowfoodbagman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions