'evaluate \'code\' in the frame
\'vars\' are optional additional local variables
returns the result of the evaluation'

def eval(self, code, **vars):

    f_locals = self.f_locals.copy()
    f_locals.update(vars)
    return eval(code, self.f_globals, f_locals)
