def _exec_eval(data, expr):
  """
  Internal function to isolate an exec. Executes ``data`` and returns the
  ``expr`` evaluation afterwards.

  """
  ns = {}
  exec(data, ns)
  return eval(expr, ns)
def _exec_eval ( data , expr ) : ns = { } exec ( data , ns ) return eval ( expr , ns )
Internal function to isolate an exec. Executes ``data`` and returns the
  ``expr`` evaluation afterwards.