Skip to content

Implement module loader with top-level await support #441

@CNSeniorious000

Description

@CNSeniorious000

Implement a module loader that supports top-level await expressions. Many console environments (PyodideConsole, IPython, asyncio.__main__, trio.__main__, etc.) already allow direct await at module level, so supporting this in our module loader would enable loading async modules properly in interactive environments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions