parameters: (self)
docstring: Store the object state, to provide a kind of transaction support::
  
  			env = ConfigSet()
  			env.stash()
  			try:
  				env.append_value('CFLAGS', '-O3')
  				call_some_method(env)
  			finally:
  				env.revert()
  
  		The history is kept in a stack, and is lost during the serialization by :py:meth:`ConfigSet.store`
docstring_summary: Store the object state, to provide a kind of transaction support::
docstring_tokens: Store the object state to provide a kind of transaction support ::
function: def stash(self):
  		"""
  		Store the object state, to provide a kind of transaction support::
  
  			env = ConfigSet()
  			env.stash()
  			try:
  				env.append_value('CFLAGS', '-O3')
  				call_some_method(env)
  			finally:
  				env.revert()
  
  		The history is kept in a stack, and is lost during the serialization by :py:meth:`ConfigSet.store`
  		"""
  		orig = self.table
  		tbl = self.table = self.table.copy()
  		for x in list(tbl.keys()):
  			tbl[x] = copy.deepcopy(tbl[x])
  		self.undo_stack = self.undo_stack + [orig]
function_tokens: def stash ( self ) : orig = self . table tbl = self . table = self . table . copy ( ) for x in list ( tbl . keys ( ) ) : tbl [ x ] = copy . deepcopy ( tbl [ x ] ) self . undo_stack = self . undo_stack + [ orig ]