Rosetta
|
Public Member Functions | |
def | __enter__ (self) |
def | __exit__ (self, type, value, traceback) |
def | __new__ (cls, *args, **kwargs) |
Supplement ZipFile class to support context manager for Python 2.6.
def ez_setup.ContextualZipFile.__enter__ | ( | self | ) |
def ez_setup.ContextualZipFile.__exit__ | ( | self, | |
type, | |||
value, | |||
traceback | |||
) |
References buffered_file.close(), utility::io::izstream.close(), utility::io::mpi_stream::basic_mpi_ostream< Elem, Tr, ElemA, ByteT, ByteAT >.close(), utility::io::ozstream.close(), options.KeepSameFile.close(), pyrosetta.distributed.cluster.logging_handlers.MsgpackHmacSocketHandler.close(), pyrosetta.distributed.cluster.logging_handlers.MultiSocketHandler.close(), and pyrosetta.distributed.utility.log.LoggingContext.close.
def ez_setup.ContextualZipFile.__new__ | ( | cls, | |
* | args, | ||
** | kwargs | ||
) |
Construct a ZipFile or ContextualZipFile as appropriate.