logilab-astng #8774 iterator / generator / next method [validation pending]

pylint does not seem to know that an iterator has a member called "next":

def count():
              n = 0
              while True:
                              yield n
                              n += 1

i = count()
print i.next()
print i.next()
print i.next()
prioritynormal
typeenhancement
done in0.21.1
load0.500
load left0.000
closed by<not specified>