summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2020-03-10 10:51:25 +0100
committerClaudiu Popa <pcmanticore@gmail.com>2020-03-10 10:51:25 +0100
commit8b80e9b07e0c3f9b34c5a99fba3286ee78c1fb75 (patch)
tree8fff80c9995722ddac5012459141fcad2943688c /ChangeLog
parent77e205dc64ead82e38bb901e08117ef6f6162c5c (diff)
downloadastroid-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 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 884e83b2..ce1753a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,10 @@ Release Date: TBA
Close PyCQA/pylint#2991
+* Prevent a recursion error for self reference variables and `type()` calls.
+
+ Close #199
+
* Do not infer the first argument of a staticmethod in a metaclass as the class itself
Close PyCQA/pylint#3032