8000 GitHub · Where software is built
[go: up one dir, main page]

Skip to content
Lexer error on relative import starting with 3 dots  #1052
Closed
@apatrushev

Description

@apatrushev

current state

cargo run -- -c 'from ...a import e'
Traceback (most recent call last):
SyntaxError: Got unexpected token: Ellipsis at Location { row: 1, column: 6 } at line 0

should be

python -c 'from ...a import e'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ValueError: Attempted relative import in non-package

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0