-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add a context manager to open product #133
Labels
Comments
Very nice feature to have, indeed 😉 |
jteulade
added a commit
that referenced
this issue
Apr 3, 2024
2 tasks
jteulade
added a commit
that referenced
this issue
May 15, 2024
bastiencyr
pushed a commit
that referenced
this issue
Feb 13, 2025
bastiencyr
pushed a commit
that referenced
this issue
Feb 13, 2025
remi-braun
added a commit
that referenced
this issue
Feb 21, 2025
remi-braun
added a commit
that referenced
this issue
Feb 21, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you open a product with the method
Reader().open(...)
, you have to delete the product at the end.Otherwise, if your program open a lot of products, you can have a space problem.
With a context manager, you can have a clearer code without a
try finally
statement.The text was updated successfully, but these errors were encountered: