summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-03-26 15:01:57 +0200
committerGitHub <noreply@github.com>2023-03-26 15:01:57 +0200
commit054455afea299c262cdfd4d34c808bc231a10f6e (patch)
treef1b8417770079137c5da90605415715f3f13aeb7 /ChangeLog
parentedf88c65d794acb5582e1d27589be9fa73b00424 (diff)
downloadastroid-git-054455afea299c262cdfd4d34c808bc231a10f6e.tar.gz
Restore setting a Call as a base for classes using `six.with_metaclass` (#2049) (#2067)
Harden support for using enums as metaclasses. Fixes the crash in PyCQA/pylint#5935 by adopting the check for not-none bases as in ClassDef._inferred_bases without recausing the false positive reported in PyCQA/pylint#7506, which requires correct bases. (cherry picked from commit b5ebf994a1c6039fa8ca4706889e007700cdf41a) Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b0182157..8f3ac7d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,12 @@ What's New in astroid 2.15.1?
=============================
Release date: TBA
+* Restore behavior of setting a Call as a base for classes created using ``six.with_metaclass()``,
+ and harden support for using enums as metaclasses in this case.
+
+ Reverts #1622
+ Refs PyCQA/pylint#5935
+ Refs PyCQA/pylint#7506
What's New in astroid 2.15.0?