RuntimeError: underlying C/C++ object has been deleted

Version imprimable