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 – Type Hinting Generics In Standard Collections #2837

Open
j-t-1 opened this issue Sep 6, 2024 · 4 comments
Open

PEP 585 – Type Hinting Generics In Standard Collections #2837

j-t-1 opened this issue Sep 6, 2024 · 4 comments

Comments

@j-t-1
Copy link
Contributor

j-t-1 commented Sep 6, 2024

Should we be removing some typing module imports?
https://peps.python.org/pep-0585/

"UP035", # PEP 585

@stefan6419846
Copy link
Collaborator

Migrating to the new annotations behavior is something which I would postpone to after the next major release and after the currently open bigger PRs from the last days have been merged. This will probably happen next week, although we still need to have a look at getting the automated release builds to work ideally.

@pubpub-zz
Copy link
Collaborator

@j-t-1
this can only be proposed when we will no more support 3.8 which will not occur before version 6.0.0 I would assume to be not before 6 months from now. I propose to move this issue into a discussion

@stefan6419846
Copy link
Collaborator

stefan6419846 commented Sep 13, 2024

But doesn't Python 3.8 already support the new annotations behavior? Or are there some limits I am not directly aware of (my minimum Python version I use on a daily basis is 3.9)?

@pubpub-zz
Copy link
Collaborator

PEP-0585 is for python 3.9+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants