bkietz commented on a change in pull request #7156:
URL: https://github.com/apache/arrow/pull/7156#discussion_r426708200



##########
File path: python/pyarrow/io.pxi
##########
@@ -1377,6 +1377,21 @@ cdef shared_ptr[CBuffer] as_c_buffer(object o) except *:
     return buf
 
 
+cdef NativeFile wrap_python_file(object source, str mode):

Review comment:
       I explicitly wanted to avoid the path/fs case and address only file-like 
objects. `_get_native_file` will probably work, I'll try replacing it




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to