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

Antoine Pitrou updated ARROW-13476:
-----------------------------------
    Component/s: Python
                 Documentation

> [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
>          Components: Documentation, Python
>    Affects Versions: 4.0.1
>            Reporter: Alessandro Molina
>            Assignee: Alessandro Molina
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 6.0.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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