You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/05/04 14:58:05 UTC

[GitHub] [arrow] pitrou commented on pull request #10427: ARROW-12881: [Python] Pyarrow IPC guide is missing sink.close()

pitrou commented on PR #10427:
URL: https://github.com/apache/arrow/pull/10427#issuecomment-1117429388

   > I wonder if we should foster (in the tutorial/howto) usage of context managers (by getting rid of all examples where `close()` is manually invoked) and reserve the use of explicit `close` for advanced use cases where it's up to the user to know what he/she is doing.
   
   Yes, I think we should definitely promote context managers over manual `close` calls. Do you want to take this up, or perhaps @AlenkaF would like to?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org