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.
| 189 | // there may be multiple references to it. Instead let the Python |
| 190 | // destructor do its job. |
| 191 | PyReadableFile::~PyReadableFile() {} |
| 192 | |
| 193 | Status PyReadableFile::Abort() { |
| 194 | return SafeCallIntoPython([this]() { return file_->Abort(); }); |
nothing calls this directly
no outgoing calls
no test coverage detected