Skip to content

Get rid of the import hack in nativeparse.py #21808

Description

@ilevkivskyi

There is a hack in nativeparse.py to work around a mypyc import bug, see https://github.com/python/mypy/blob/master/mypy/nativeparse.py#L283-L289

It sometimes happens when a module object is accessed from a thread. This may happen even if the module is imported at top-level.

cc @JukkaL

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions