Skip to content

Import typing Self Error #5149

Description

@forex24

python code:
from typing import Self

cpython run ok

rustpython output:
$ rustpython test.py
Traceback (most recent call last):
File "test.py", line 1, in
from typing import Self
ImportError: cannot import name 'Self'

python version:3.11.7
rustpython version:0.3.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-compatA discrepancy between RustPython and CPython

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions