class_docstr: Interpret AST nodes to gleam useful debugging information. 
class_docstr_tok: ["Interpret","AST","nodes","to","gleam","useful","debugging","information","."]
code: def visit_Name(self, name):
      explanation, result = self.generic_visit(name)
      # See if the name is local.
      source = "%r in locals() is not globals()" % (name.id,)
      co = self._compile(source)
      try:
          local = self.frame.eval(co)
      except Exception:
          # have to assume it isn't
          local = False
      if not local:
          return name.id, result
      return explanation, result
  
imports: import sys
  import ast
  import py
  from py._code.assertion import _format_explanation, BuiltinAssertionError
label_desc: Use image node_id 6 for calling the DebugInterpreter obj's underlying member method code with example usage: obj.visit_Name(name) and returns: explanation,  result, name,  result