| 285 | // Output stream |
| 286 | |
| 287 | PyOutputStream::PyOutputStream(PyObject* file) : position_(0) { |
| 288 | file_.reset(new PythonFile(file)); |
| 289 | } |
| 290 | |
| 291 | // The destructor does not close the underlying Python file object, as |
| 292 | // there may be multiple references to it. Instead let the Python |