summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2021-02-28 21:16:14 +0100
committerGitHub <noreply@github.com>2021-02-28 21:16:14 +0100
commit181642f33c3ba71f39e73efb334502ad300dfe5a (patch)
treefbad9926d9542a8b4ecbbbf9fa4d41fef9a17bef /ChangeLog
parent8c2a13fe453f3fc38f3b2f32d5de92f5c87e13d4 (diff)
downloadastroid-git-181642f33c3ba71f39e73efb334502ad300dfe5a.tar.gz
Solves "Duplicates found in MROs" false positives. (#905, #916)
* Adds inference support for all typing types that are defined through _alias function * Instead of creating a new class (by the mean of TYPING_TYPE_TEMPLATE) infer the origin class : i.e MutableSet = _alias(collections.MutableSet ...) origin is the class in collections module. Needs to add __getitem method on its metaclass so that is support indexing (MutableSet[T]). * Enable _alias mocking and testing only if python version is at least 3.7 Co-authored-by: hippo91 <guillaume.peillex@gmail.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d19c4351..e859c587 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -15,6 +15,15 @@ Release Date: 2021-02-28
* Improve typing.TypedDict inference
+* Fix the `Duplicates found in MROs` false positive.
+
+ Closes #905
+ Closes PyCQA/pylint#2717
+ Closes PyCQA/pylint#3247
+ Closes PyCQA/pylint#4093
+ Closes PyCQA/pylint#4131
+ Closes PyCQA/pylint#4145
+
What's New in astroid 2.5?
============================