#NEWLINE# def run_code( self , code , f_globals = None , f_locals = None ) : #NEWLINE# #INDENT# frame = self . make_frame ( code , f_globals = f_globals , f_locals = val ) #NEWLINE# val = self . run_frame ( frame ) #NEWLINE# if self . frames : #NEWLINE# #INDENT# raise VirtualMachineError ( 'Frames left over!' ) #NEWLINE# #UNINDENT# if ( self . frame and self . frame . stack ) : #NEWLINE# #INDENT# raise VirtualMachineError ( ( 'Data left on stack! %r' % self . frame . stack ) ) #NEWLINE# #UNINDENT# return val