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

Include python 3.9 in stdlibs #1540

Closed
michaelhays opened this issue Oct 7, 2020 · 1 comment
Closed

Include python 3.9 in stdlibs #1540

michaelhays opened this issue Oct 7, 2020 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@michaelhays
Copy link

isort isn't recognizing zoneinfo as a part of the standard library unless I specify --py=39.

I noticed that a stdlibs/py39.py file exists (with zoneinfo), but that it isn't included in stdlibs/py3.py. I didn't look too much into how it works, but seeing that the Python Version configuration docs says the "Default is to assume any Python 3 version could be the target, and use a union of all stdlib modules across versions", I'd assume it would just work if it were added to py3.py.

(And of course, thanks for all of your work on this excellent tool!)

@timothycrosley timothycrosley added the enhancement New feature or request label Oct 8, 2020
@timothycrosley timothycrosley added this to the 5.6.0 milestone Oct 8, 2020
@timothycrosley
Copy link
Member

Thanks for reporting! With the just release isort 5.6.0 release python3.9 imports are defaulted to being detected as stdlib now that Python3.9 has also been released.

Thanks!

~Timothy

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

No branches or pull requests

2 participants