[ 
https://issues.apache.org/jira/browse/ARROW-13476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alessandro Molina reassigned ARROW-13476:
-----------------------------------------

    Assignee: Alessandro Molina

> [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
>            Assignee: Alessandro Molina
>            Priority: Major
>
> 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)

Reply via email to