MCPcopy Create free account
hub / github.com/apache/arrow / ~PyReadableFile

Method ~PyReadableFile

python/pyarrow/src/arrow/python/io.cc:191–191  ·  view source on GitHub ↗

The destructor does not close the underlying Python file object, as there may be multiple references to it. Instead let the Python destructor do its job.

Source from the content-addressed store, hash-verified

189// there may be multiple references to it. Instead let the Python
190// destructor do its job.
191PyReadableFile::~PyReadableFile() {}
192
193Status PyReadableFile::Abort() {
194 return SafeCallIntoPython([this]() { return file_->Abort(); });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected