You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2018/02/26 17:29:00 UTC

[jira] [Created] (ARROW-2218) [Python] PythonFile should infer mode when not given

Antoine Pitrou created ARROW-2218:
-------------------------------------

             Summary: [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


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)