Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Python 3.12 type alias & generic type syntax #136

Open
CarrotManMatt opened this issue Jan 6, 2024 · 0 comments
Open

Use Python 3.12 type alias & generic type syntax #136

CarrotManMatt opened this issue Jan 6, 2024 · 0 comments
Assignees
Labels
refactor Improvements to the codebase that do not directly affect users suspended Delayed until a later date

Comments

@CarrotManMatt
Copy link
Member

CarrotManMatt commented Jan 6, 2024

PEP 695 introduces a new syntax for type aliases & generic functions. These new syntaxes provide the benefit of more precise scoping & Paramspec unpacking.

An initial implementation of this syntax is provided in the attached development branch. However cannot be merged until mypy supports PEP 695. See issue python/mypy#15238

@CarrotManMatt CarrotManMatt added refactor Improvements to the codebase that do not directly affect users suspended Delayed until a later date labels Jan 6, 2024
@CarrotManMatt CarrotManMatt self-assigned this Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Improvements to the codebase that do not directly affect users suspended Delayed until a later date
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant