'Yield a sequence of (name,value) pairs of PyObjectPtr instances, for
the global variables of this frame'

def iter_globals(self):

    if self.is_optimized_out():
        return ()
    pyop_globals = self.pyop_field('f_globals')
    return pyop_globals.iteritems()
