← 返回首页
Imports from _async module doesn't get converted to imports from _sync · Issue #79 · python-trio/unasync · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Imports from _async module doesn't get converted to imports from _sync #79

New issue
New issue

Description

Imports from the _async module seem to be unaffected:

from library._async.module import AsyncFoo

gets converted to

from library._async.module import SyncFoo

Expected result:

from library._sync.module import SyncFoo

Currently working around it by exporting both the classes from a common place, but it'd be nice to have this work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Footer

      © 2026 GitHub, Inc.