[
https://issues.apache.org/jira/browse/ARROW-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16378371#comment-16378371
]
ASF GitHub Bot commented on ARROW-2218:
---------------------------------------
pitrou opened a new pull request #1674: ARROW-2218: [Python] PythonFile should
infer mode when not given
URL: https://github.com/apache/arrow/pull/1674
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> [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
> 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
(v7.6.3#76005)