Skip to content

futurize: incorrect conversion of multiple-level implicit relative imports #16

Open
@edschofield

Description

@edschofield

Implicit relative imports with multiple levels, such as this code::

import specialmodels.pandasmodel

are incorrectly converted by futurize --stage1 to::

from . import specialmodels.pandasmodel

which is a SyntaxError.

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