Skip to content

trio_as_aio() can't handle async context managers that create a nursery or cancel scope... #55

Open
@oremanj

Description

@oremanj

... because it doesn't execute aenter and aexit in the same underlying Trio task. You get a super inscrutable chain of AssertionErrors.

Not sure how feasible this is to fix, but I ran into it today in my first attempt to use trio-asyncio for something real.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions