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

[Doc][Python] Ensure that ipc/io documentation uses context managers instead of manually closing streams #29139

Closed
asfimport opened this issue Jul 28, 2021 · 1 comment

Comments

@asfimport
Copy link
Collaborator

asfimport commented Jul 28, 2021

At the moment, in many places we are not closing or manually invoking .close() over resources that could deal automatically with it through context managers. We should replace those manual usages of .close() with context managers in the documentation so that we get users used to go for the more robust solution that doesn't require dedicated exception handling and remembering to close things.

Reporter: Alessandro Molina / @amol-
Assignee: Alessandro Molina / @amol-

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-13476. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

Antoine Pitrou / @pitrou:
Issue resolved by pull request 10957
#10957

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

No branches or pull requests

2 participants