Skip to content

Add type hinting generics in standard collections support  #196

@fgallaire

Description

@fgallaire

PEP 585, type hinting generics in standard collections.

https://peps.python.org/pep-0585/#rationale-and-goals
This change removes the necessity for a parallel type hierarchy in the typing module, making it easier for users to annotate their programs and easier for teachers to teach Python.

Tuple, List and Dict from typing are depreciated since Python 3.9 and will be removed... so MrPython needs to support this new (2020) syntax.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions