Skip to content

ZipFile stub is incorrect for Python3, does not support compressionlevel #3413

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
iamahern opened this issue Oct 28, 2019 · 0 comments · Fixed by #3414
Closed

ZipFile stub is incorrect for Python3, does not support compressionlevel #3413

iamahern opened this issue Oct 28, 2019 · 0 comments · Fixed by #3414
Labels
stubs: incomplete Annotations or sub-modules missing from an existing package or module

Comments

@iamahern
Copy link

The ZipFile stub is missing the compressionlevel parameter.

From stubgen:

    def __init__(self, file: Any, mode: str = ..., compression: Any = ..., allowZip64: bool = ..., compresslevel: Optional[Any] = ...) -> None: ...

Cursory glance suggests there are other issues / differences.

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.

2 participants