diff options
author | Peter de Blanc <peter@standard.ai> | 2019-01-08 18:02:47 +0900 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-06-02 11:51:03 +0200 |
commit | dfd0fee70f475c1c410ccce7d5892a7baab15c54 (patch) | |
tree | 7e9841501a4749392e6cbc9f0a4657b0337266bb /ChangeLog | |
parent | 1df977be0bf5d2c46d53c17d78edd27d126c9db0 (diff) | |
download | astroid-git-dfd0fee70f475c1c410ccce7d5892a7baab15c54.tar.gz |
Replace _verify_duplicates_mro with _clean_duplicates_mro.
Only raise DuplicateBasesError if the first node is duplicated;
otherwise remove all but the last instance of each duplicated node.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -6,17 +6,21 @@ What's New in astroid 2.3.0? ============================ Release Date: TBA +* Fix a bug where defining a class using type() could cause a DuplicateBasesError. + + Close #644 + * Numpy brain support is improved. - Numpy's fundamental type ``numpy.ndarray`` has its own brain : ``brain_numpy_ndarray`` and + Numpy's fundamental type ``numpy.ndarray`` has its own brain : ``brain_numpy_ndarray`` and each numpy module that necessitates brain action has now its own numpy brain : - - - ``numpy.core.numeric`` - - ``numpy.core.function_base`` - - ``numpy.core.multiarray`` - - ``numpy.core.numeric`` - - ``numpy.core.numerictypes`` - - ``numpy.core.umath`` + + - ``numpy.core.numeric`` + - ``numpy.core.function_base`` + - ``numpy.core.multiarray`` + - ``numpy.core.numeric`` + - ``numpy.core.numerictypes`` + - ``numpy.core.umath`` - ``numpy.random.mtrand`` Close PyCQA/pylint#2865 |