diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2020-03-10 10:51:25 +0100 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2020-03-10 10:51:25 +0100 |
commit | 8b80e9b07e0c3f9b34c5a99fba3286ee78c1fb75 (patch) | |
tree | 8fff80c9995722ddac5012459141fcad2943688c /astroid/helpers.py | |
parent | 77e205dc64ead82e38bb901e08117ef6f6162c5c (diff) | |
download | astroid-git-8b80e9b07e0c3f9b34c5a99fba3286ee78c1fb75.tar.gz |
Prevent a recursion error for self reference variables and `type()` calls.
The recursion error was caused by inferring the bases of the generated
`B` class multiple times. The solution uses the new `EvaluatedObject`
class to stop the inference by inferring the base classes in the
`type` inference function.
Close #199
Diffstat (limited to 'astroid/helpers.py')
0 files changed, 0 insertions, 0 deletions