Skip to content

Proposal: deprecate support for legacy type hinting functionality, i.e. [float] instead of list[float], {str: int} instead of dict[str,int], etc #144

@ptomecek

Description

@ptomecek

Is your feature request related to a problem? Please describe.
Simplify the existing codebase and make performance improvements during graph parsing/type checking/building. These files would no longer be necessary:

Describe the solution you'd like
Add deprecation messages to use of the legacy container types, followed by complete removal down the road.

Describe alternatives you've considered
Leaving the functionality in.

Additional context
Now that python type hints are standardized and ubiquitous, it doesn't make so much sense to support syntax that was developed long ago.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang: pythonIssues and PRs related to the Python codebasetype: enhancementIssues and PRs related to improvements to existing features

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions