def _name( self, value ):
		name = "<unknown>"
		for attribute in [ '__name__','name','func_name','co_name','__file__',"friendlyName"]:
			if hasattr( value, attribute):
				v = getattr( value, attribute)
				if isinstance( v, (str,unicode)):
					name = v
		if '.' in name:
			return name.split('.')[-1]
		return name
Ignore some options and keywords that are edge cases.
dataset/ETHPy150Open correl/Transmission-XBMC/resources/lib/basictypes/callable.py/Callable._name--crossover with--dataset/ETHPy150Open google/capirca/lib/aclcheck.py/AclCheck._PossibleMatch