You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2018/02/26 22:19:00 UTC
[jira] [Commented] (ARROW-2218) [Python] PythonFile should infer
mode when not given
[ https://issues.apache.org/jira/browse/ARROW-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16377694#comment-16377694 ]
Wes McKinney commented on ARROW-2218:
-------------------------------------
Definitely agreed
> [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
> Priority: Minor
> 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
(v7.6.3#76005)