code: def _get_name(self, val, src_file, default='Unknown'):
          '''
          get the full namespaced (module + class) name of the val object
  
          since -- 6-28-12
  
          val -- mixed -- the value (everything is an object) object
          default -- string -- the default name if a decent name can't be found programmatically
  
          return -- string -- the full.module.Name
          '''
          module_name = ''
          if src_file:
              module_name = '{}.'.format(self._getattr(val, '__module__', default)).lstrip('.')
  
          class_name = self._getattr(val, '__name__', None)
          if not class_name:
              class_name = default
              cls = self._getattr(val, '__class__', None)
              if cls:
                  class_name = self._getattr(cls, '__name__', default)
  
          full_name = "{}{}".format(module_name, class_name)
  
          return full_namf _get_name(self, val, src_file, default='Unknown'):
          '''
          get the full namespaced (module + class) name of the val object
  
          since -- 6-28-12
  
          val -- mixed -- the value (everything is an object) object
          default -- string -- the default name if a decent name can't be found programmatically
  
          return -- string -- the full.module.Name
          '''
          module_name = ''
          if src_file:
              module_name = '{}.'.format(self._getattr(val, '__module__', default)).lstrip('.')
  
          class_name = self._getattr(val, '__name__', None)
          if not class_name:
              class_name = default
              cls = self._getattr(val, '__class__', None)
              if cls:
                  class_name = self._getattr(cls, '__name__', default)
  
          full_name = "{}{}".format(module_name, class_name)
  
          return full_name
docs: get the full namespaced (module + class) name of the val object
  
          since -- 6-28-12
  
          val -- mixed -- the value (everything is an object) object
          default -- string -- the default name if a decent name can't be found programmatically
  
          return -- string -- the full.module.Name