[
https://issues.apache.org/jira/browse/ARROW-2036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16340513#comment-16340513
]
ASF GitHub Bot commented on ARROW-2036:
---------------------------------------
cpcloud commented on issue #1517: ARROW-2036: [Python] Support standard IOBase
methods on NativeFile
URL: https://github.com/apache/arrow/pull/1517#issuecomment-360673448
I am aware that those properties are C only.
ARROW-2030 was showing up in a user's code as an attribute error (IIRC not
because they were explicitly accessing the property) which occurred because
something was calling `_assert_readable()` and raising an exception.
It's not about making them accessible, it's about the manifestation of a
possible bug.
It's possible I'm mistaken here, so I'll post in the JIRA with a
reproducible test case if I can make one. We can continue the discussion there.
----------------------------------------------------------------
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]
> NativeFile should support standard IOBase methods
> -------------------------------------------------
>
> Key: ARROW-2036
> URL: https://issues.apache.org/jira/browse/ARROW-2036
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Jim Crist
> Priority: Minor
> Labels: pull-request-available
>
> If `NativeFile` supported most/all of the standard IOBase methods
> ([https://docs.python.org/3/library/io.html#io.IOBase),] then it'd be easier
> to use arrow files with other python libraries. Would at least be nice to
> support enough operations to use `io.TextIOWrapper`.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)