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

Implement functions for with statement and close() #59

Open
Droppers opened this issue Jun 15, 2021 · 0 comments
Open

Implement functions for with statement and close() #59

Droppers opened this issue Jun 15, 2021 · 0 comments

Comments

@Droppers
Copy link

I noticed that the ZipFile will stay open (OS prevents it from being modified or removed) and it is currently not possible to use it in a with statement. So I'd suggest implementing __enter__ , __exit__ and a close() function.

At the moment you will have to call apk.zip.close() manually, to figure this out you need to look at the code.

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

No branches or pull requests

1 participant