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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to