Skip to content

The asyncio REPL can run relative import code #140326

@Locked-chess-official

Description

@Locked-chess-official

Bug report

Bug description:

Image Nowadays the relative import code in normal REPL in 3.14 is invalid, but it still valid in asyncio REPL. Maybe follow the way in #134275 can fix it.

CPython versions tested on:

3.14

Operating systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytopic-asynciotopic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions