diff options
| author | hippo91 <guillaume.peillex@gmail.com> | 2021-02-07 16:29:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-07 16:29:50 +0100 |
| commit | d60eb5e207427599fe2f4a8d44e4cb0bebcf3c9f (patch) | |
| tree | afca46ee9a4b30effa5a6d36657b64b7f492c651 /ChangeLog | |
| parent | 529cd943ea05e1c263b3e07366973bc9a32ff171 (diff) | |
| parent | 599fe72a0c0e07e2a7720237c40800aa3c611708 (diff) | |
| download | astroid-git-d60eb5e207427599fe2f4a8d44e4cb0bebcf3c9f.tar.gz | |
Merge branch 'master' into master
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 39 |
1 files changed, 38 insertions, 1 deletions
@@ -2,7 +2,6 @@ astroid's ChangeLog =================== - What's New in astroid 2.5.0? ============================ Release Date: TBA @@ -13,6 +12,23 @@ Release Date: TBA Fixes PyCQA/astroid#863 +* Enrich the ``brain_collection`` module so that ``__class_getitem__`` method is added to `deque` for + ``python`` version above 3.9. + +* The ``context.path`` is now a ``dict`` and the ``context.push`` method + returns ``True`` if the node has been visited a certain amount of times. + + Close #669 + +* Adds a brain for type object so that it is possible to write `type[int]` in annotation. + + Fixes PyCQA/pylint#4001 + +* Add ``__class_getitem__`` method to ``subprocess.Popen`` brain under Python 3.9 so that it is seen as subscriptable by pylint. + + Fixes PyCQA/pylint#4034 + + * Adds `degrees`, `radians`, which are `numpy ufunc` functions, in the `numpy` brain. Adds `random` function in the `numpy.random` brain. Fixes PyCQA/pylint#3856 @@ -21,6 +37,10 @@ Release Date: TBA Closes #703 +* Fix a crash in inference caused by `Uninferable` container elements + + Close #866 + * Add `python 3.9` support. * The flat attribute of ``numpy.ndarray`` is now inferred as an ``numpy.ndarray`` itself. @@ -81,6 +101,10 @@ Release Date: TBA Fixes #843 +* Fix interpretation of ``six.with_metaclass`` class definitions. + + Fixes #713 + * Reduce memory usage of astroid's module cache. * Remove dependency on `imp`. @@ -100,6 +124,19 @@ Release Date: TBA Close PyCQA/pylint#3686 +* ``is_generator`` correctly considers `Yield` nodes in `AugAssign` nodes + + This fixes a false positive with the `assignment-from-no-return` pylint check. + + Close PyCQA/pylint#3904 + +* Corrected the parent of function type comment nodes. + + These nodes used to be parented to their original ast.FunctionDef parent + but are now correctly parented to their astroid.FunctionDef parent. + + Close PyCQA/astroid#851 + What's New in astroid 2.4.2? ============================ |
