def __copy__(self): """ Forbid :class:`~iris._data_manager.DataManager` instance shallow-copy support. """ name = type(self).__name__ emsg = ('Shallow-copy of {!r} is not permitted. Use ' 'copy.deepcopy() or {}.copy() instead.') raise copy.Error(emsg.format(name, name))
def __deepcopy__(self, memo): raise copy.Error("Copying json_steam objects leads to a bad time")
def __copy__(self): raise copy.Error("Copying json_steam objects leads to a bad time")