(self)
Temporarily block garbage collection.
Temporarily block garbage collection.
Temporarily block garbage collection .
def hold_garbage(self):
        """Temporarily block garbage collection."""
        self._allow_collect = False
        yield
        self._allow_collect = True
def hold_garbage ( self ) : self . _allow_collect = False yield self . _allow_collect = True