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

Method ~PyOutputStream

python/pyarrow/src/arrow/python/io.cc:294–294  ·  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

292// there may be multiple references to it. Instead let the Python
293// destructor do its job.
294PyOutputStream::~PyOutputStream() {}
295
296Status PyOutputStream::Abort() {
297 return SafeCallIntoPython([=]() { return file_->Abort(); });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected