You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Alessandro Molina (Jira)" <ji...@apache.org> on 2021/07/28 13:26:00 UTC

[jira] [Created] (ARROW-13476) [Doc][Python] Ensure that ipc/io documentation uses context managers instead of manually closing streams

Alessandro Molina created ARROW-13476:
-----------------------------------------

             Summary: [Doc][Python] Ensure that ipc/io documentation uses context managers instead of manually closing streams
                 Key: ARROW-13476
                 URL: https://issues.apache.org/jira/browse/ARROW-13476
             Project: Apache Arrow
          Issue Type: Improvement
    Affects Versions: 4.0.1
            Reporter: Alessandro Molina


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.





--
This message was sent by Atlassian Jira
(v8.3.4#803005)