Skip to content

Missing standard library xml #3787

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

Closed
xorsyst-python opened this issue Feb 28, 2020 · 9 comments · Fixed by #5895
Closed

Missing standard library xml #3787

xorsyst-python opened this issue Feb 28, 2020 · 9 comments · Fixed by #5895
Labels
stubs: incomplete Annotations or sub-modules missing from an existing package or module

Comments

@xorsyst-python
Copy link

I'm getting

error: No library stub file for standard library module 'xml.dom.minidom'
note: (Stub files are from https://github.com/python/typeshed)
error: No library stub file for standard library module 'xml.dom'
error: No library stub file for standard library module 'xml.dom.expatbuilder'
error: No library stub file for standard library module 'xml.sax.expatreader'
error: No library stub file for standard library module 'xml.dom.pulldom'

I've updated mypy

@srittau srittau added size-large stubs: incomplete Annotations or sub-modules missing from an existing package or module labels Feb 29, 2020
@jermenkoo
Copy link
Contributor

I can have a stab at some of them

@srittau
Copy link
Collaborator

srittau commented Mar 4, 2020

@jermenkoo That would be appreciated!

@djb4ai
Copy link
Contributor

djb4ai commented Mar 16, 2020

@jermenkoo Are you still working on it?

@jermenkoo
Copy link
Contributor

@lladhibhutall we can split it, just pick one of xml sub-modules and create a typestub for that

@djb4ai
Copy link
Contributor

djb4ai commented Mar 16, 2020

@jermenkoo Since you have been working on it for longer, you can tell me which ones you have already worked on so that I don't work on the same by mistake.

@jermenkoo
Copy link
Contributor

I was working on xml.dom.pulldom - everything else is upforgrabs! Let me know which one you pick so that we sync about the work here

@djb4ai
Copy link
Contributor

djb4ai commented Mar 16, 2020

@jermenkoo Cool, I will pick up the xml.sax.expatreader

@srittau Should we just work on the modules mentioned in the issue? There are few other modules for which stubs are not present in typeshed.

@srittau
Copy link
Collaborator

srittau commented Mar 16, 2020

@lladhibhutall Any additions are appreciated.

@hauntsaninja
Copy link
Collaborator

Progress has been made on this. The stubs that are very incomplete are:

xml.dom.pulldom
xml.dom.expatbuilder
xml.dom.xmlbuilder

There are missing type annotations in the others, but definitions should be more complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stubs: incomplete Annotations or sub-modules missing from an existing package or module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants