Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Import typing Self Error #5149

Closed
Closed
@forex24

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

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