Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ PythonFile
Method
PythonFile
python/pyarrow/src/arrow/python/io.cc:47–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
45
class PythonFile {
46
public:
47
explicit PythonFile(PyObject* file) : file_(file), checked_read_buffer_(false) {
48
Py_INCREF(file);
49
}
50
51
Status CheckClosed() const {
52
if (!file_) {
Callers
14
test_python_file_write
Function · 0.80
test_python_file_read
Function · 0.80
test_python_file_get_stream
Function · 0.80
test_python_file_read_at
Function · 0.80
test_python_file_readall
Function · 0.80
test_python_file_readinto
Function · 0.80
test_python_file_read_buffer
Function · 0.80
test_python_file_correct_abc
Function · 0.80
test_python_file_iterable
Function · 0.80
factory
Function · 0.80
test_python_file_implicit_mode
Function · 0.80
test_python_file_writelines
Function · 0.80
Calls
no outgoing calls
Tested by
14
test_python_file_write
Function · 0.64
test_python_file_read
Function · 0.64
test_python_file_get_stream
Function · 0.64
test_python_file_read_at
Function · 0.64
test_python_file_readall
Function · 0.64
test_python_file_readinto
Function · 0.64
test_python_file_read_buffer
Function · 0.64
test_python_file_correct_abc
Function · 0.64
test_python_file_iterable
Function · 0.64
factory
Function · 0.64
test_python_file_implicit_mode
Function · 0.64
test_python_file_writelines
Function · 0.64