Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum recursion error when inferring a type call #199

Closed
pylint-bot opened this issue Sep 29, 2015 · 1 comment
Closed

Maximum recursion error when inferring a type call #199

pylint-bot opened this issue Sep 29, 2015 · 1 comment
Labels
Milestone

Comments

@pylint-bot
Copy link

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() #@

@PCManticore PCManticore added this to the 2.X milestone Apr 25, 2018
@redotics
Copy link

Dear all,

2015 that's some time ago :)

I think we are pointing to a similar issue over there: PyCQA/pylint #3318
where we describe a pylint recursion error certainly linked to this astroid issue.
Astroid 2.2.5 (with compatible pylint version) did not seem to have the issue.

@Pierre-Sassoulas Pierre-Sassoulas modified the milestones: 2.X, 2.6.0 Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants