title: Do all callables have __name__?
body: <p>I have a decorator that logs the name of the decorated function (among other things). </p>
  
  <p>Is it safe to access the <code>__name__</code> attribute of the decorated function? Or is there some callable type that doesn't have name that I have not run into yet?</p>