-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Missing stubs in Python 3.6 standard library #1019
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
Added statistics in #1021. |
These modules seem to be internal to CPython and thus not a priority:
|
Adds Python 2 and 3 stubs for `tty` module. Addresses one of the missing stubs mentioned in python#1019.
Just realized this is missing modules implemented in C. |
Adds Python 2 and 3 stubs for `tty` module. Addresses one of the missing stubs mentioned in #1019.
Also https://docs.python.org/3/library/internet.html is missing, |
This list is a good idea. I'm going to do something similar for Python 2 |
I will also use this bug report to plug typeshed-completion, which tries to document the completion status of the standard library. |
Most of the public check-marks on this issue seem to be complete. On my local machine, the current list of missing packages (Windows 10, Python 3.6.9, unfiltered):
msilib is a public windows-specific module, in the original post I believe the |
Adding on the list of modules implemented in C (Same source as previous):
|
This list seems to be valid for 3.7 as well as 3.6. At least, i'm trying to typecheck some code that uses |
Should xml.dom be in this list? |
Also winreg? |
@JelleZijlstra Mind if I update your checklist to match all the stub files now in typeshed? All the non-private modules have been completed |
Yes, feel free to edit the message (I think you should have permission to do that now?). |
I recently contributed support for Maybe someone should check if there are other modules missing from the list. |
xml:
(see #3787) |
Should there be stubs for |
We're also missing various submodules (eg, just got bitten by asyncio.sslproto) |
@JelleZijlstra Should we close this? The only open stubs are private and this would probably need to be updated for 3.9 anyways. |
Sounds good. We should do something about the missing submodules though (like asyncio.sslproto and various xml things mentioned above). |
Pulled a list of missing submodules in Python 3.8 on darwin (after filtering out anything with the word test in it): (Also I was wrong about asyncio.sslproto. We have it, I just got bitten by implicit reexport).
List filtered to things that could maybe help people:
|
@hauntsaninja Do you want to open a new ticket for 3.8, so we could get a fresh start? |
Also, I think we should leave out undocumented modules from this list. (But we can do that in the new issue.) While it's fine to add such a module, if someone cares to annotate it, our general policy is to add such undocumented features only on request, so I don't think we need to keep an issue around for those. |
Sure! |
The following modules in the Python 3.6 standard library do not have stubs:
Found this with https://github.com/JelleZijlstra/stubcheck. Some of these are private or aren't intended to be imported.
The text was updated successfully, but these errors were encountered: