Skip to content

Replace absolute imports with relative imports #698

Open
@natezb

Description

@natezb

I'd like to use 2.0 in a project of mine, but I rely on some packages that don't yet support it, so my intent is to temporarily bundle prompt_toolkit as a subpackage until these issues clear themselves up. When trying to do this, I discovered many absolute imports that could/should be rewritten as package-relative, e.g. in application.py.

Would you be willing to accept a PR that replaces the absolute imports of prompt_toolkit.x with relative imports? I'd stick to the library code and wouldn't touch examples/tests/etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions