title: Python Decorators - <Classname> object has no attribute '__name__'
body: <p>I have a  tornado method like below and I tried to decorate method to cache stuff. I have the following setup</p>
  
  <pre><code>def request_cacher(x):
      def wrapper(funca):
          @functools.wraps(funca)
          @asynchronous
          @coroutine
          def wrapped_f(self, *args, **kwargs):
              pass
  
          return wrapped_f
      return wrapper
  
  class PhotoListHandler(BaseHandler):
      @request_cacher
      @auth_required
      @asynchronous
      @coroutine
      def get(self):
          pass
  </code></pre>
  
  <p>I am receiving the error, <code>AttributeError: 'PhotoListHandler' object has no attribute '__name__'</code>
  Any ideas?</p>