[
https://issues.apache.org/jira/browse/ARROW-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17659246#comment-17659246
]
Rok Mihevc commented on ARROW-2218:
-----------------------------------
This issue has been migrated to [issue
#18182|https://github.com/apache/arrow/issues/18182] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [Python] PythonFile should infer mode when not given
> ----------------------------------------------------
>
> Key: ARROW-2218
> URL: https://issues.apache.org/jira/browse/ARROW-2218
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Affects Versions: 0.8.0
> Reporter: Antoine Pitrou
> Assignee: Antoine Pitrou
> Priority: Minor
> Labels: pull-request-available
> Fix For: 0.9.0
>
>
> The following is clearly not optimal:
> {code:python}
> >>> f = open('README.md', 'r')
> >>> pa.PythonFile(f).mode
> 'wb'
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)