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

Migrate code to python3.9 #178

Open
kindermax opened this issue Feb 14, 2025 · 0 comments
Open

Migrate code to python3.9 #178

kindermax opened this issue Feb 14, 2025 · 0 comments

Comments

@kindermax
Copy link
Collaborator

kindermax commented Feb 14, 2025

Since we drop support for python3.8 and now minimal python version is python3.9, we can migrate some library code to new python3.9 types and functions, which includes:

  • builtin container types now can be used in type annotations e.g. List[] -> list[]
  • from collections.abc import Iterable, Mapping, Sequence
  • maybe some types migrated from typing_extensions into typing module

Also review python3.9 official changelog, maybe we can use some new features https://docs.python.org/3.9/whatsnew/3.9.html

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

1 participant