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): = name

   def get_name(self):

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


pylint 0.13.1 gives me an E0602 " 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.

appeared in<not specified>
done in0.16.0
load left0.000
closed by<not specified>