pylint-bot / astroid-unofficial

UNOFFICIAL playground for astroid github migration
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Maximum recursion error when inferring a type call #199

Open pylint-bot opened 9 years ago

pylint-bot commented 9 years ago

Originally reported by: Claudiu Popa (BitBucket: PCManticore, GitHub: PCManticore)


Reproducing with. Related to #198.

#!python

class A(object):
    pass

class SomeClass(object):
    route_class = A

    def __init__(self):
        self.route_class = type('B', (self.route_class, ), {})
        self.route_class() #@