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

PEP 585 - Refactor type hinting generics #157

Closed
perdy opened this issue Nov 21, 2024 · 0 comments · Fixed by #159
Closed

PEP 585 - Refactor type hinting generics #157

perdy opened this issue Nov 21, 2024 · 0 comments · Fixed by #159
Assignees
Labels
feature request Request for a new feature
Milestone

Comments

@perdy
Copy link
Member

perdy commented Nov 21, 2024

Summary

Refactor according to PEP 585 generics

Motivation

As PEP 585 was introduced in Python 3.9 we can safely upgrade the code to reflect those changes.

Proposed changes

Modify type hinting generics to use standard library collections instead of their typing variations, e.g.: list instead of typing.List.

@perdy perdy added the feature request Request for a new feature label Nov 21, 2024
This was linked to pull requests Nov 21, 2024
@perdy perdy removed a link to a pull request Nov 23, 2024
@perdy perdy self-assigned this Nov 24, 2024
@perdy perdy added this to the 1.9.0 milestone Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant