-
Notifications
You must be signed in to change notification settings - Fork 258
Prefer flat namespace over using typing.io and typing.re #589
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
Comments
Opened https://bugs.python.org/issue35089 for the documentation issue, python/cpython#10173 for the corresponding PR. |
I think this is done now. |
The |
It seems that typeshed never included those namespaces, so I guess using them in type checkers has never worked. That seems like a indication that deprecating them should not be too disrupting. |
Ah cool.
|
The conclusion of python/typeshed#1652 says that importing from
typing
instead oftyping.io
andtyping.re
should be encouraged. That requires changes to PEP 484 as well the standard library documentation.The text was updated successfully, but these errors were encountered: