pylint #3711 bug finding decorator arguments [resolved]

consider this (stripped down and simplified) code sniplet:

def decorate(get_name):
   def f(func):
       def new_method(self, *args):
           print "calling", func.__name__, "in", get_name(self)
           func(self, *args)
       return new_method
   return f

class Foo(object):

   def __init__(self, name):
       self.name = name

   def get_name(self):
       return self.name

   @decorate(get_name) # <-------- HERE
   def foo(self, arg):
       print "foo:", arg

Foo("bar").foo("baz")

pylint 0.13.1 gives me an E0602 "Foo.foo: Undefined variable 'get_name'" in the marked line, which imho is a false positive, as this code runs fine with python 2.4.4, and I see no reason why one should not be able to pass a reference to another method this way.

prioritynormal
typebug
done in0.16.0
load0.000
load left0.000
closed by<not specified>