forked from pool/python-astroid
Accepting request 927778 from home:bnavigator:branches:devel:languages:python
- Update to 2.8.4
* Fix the ``scope()`` and ``frame()`` methods of ``NamedExpr``
nodes. When these nodes occur in ``Arguments``, ``Keyword`` or
``Comprehension`` nodes these methods now correctly point to
the outer-scope of the ``FunctionDef``, ``ClassDef``, or
``Comprehension``.
* Fix the ``set_local`` function for ``NamedExpr`` nodes. When
these nodes occur in ``Arguments``, ``Keyword``, or
``Comprehension`` nodes these nodes are now correctly added to
the locals of the ``FunctionDef``, ``ClassDef``, or
``Comprehension``.
- Release 2.8.3?
* Add support for wrapt 1.13
* Fixes handling of nested partial functions
* Fix regression with the import resolver
* Fix crash with invalid dataclass field call
- Release 2.8.1
* Adds support of type hints inside numpy's brains.
* Enable inference of dataclass import from pydantic.dataclasses.
This allows the dataclasses brain to recognize pydantic
dataclasses.
* Fix regression on ClassDef inference
* Fix regression on Compare node inference
* Extended attrs brain to support the provisional APIs
* Astroid does not trigger it's own deprecation warning anymore.
* Improve brain for ``typing.Callable`` and ``typing.Type``.
* Fix bug with importing namespace packages with relative imports
* The ``is_typing_guard`` and ``is_sys_guard`` functions are
deprecated and will be removed in 3.0.0. They are complex
meta-inference functions that are better suited for pylint.
OBS-URL: https://build.opensuse.org/request/show/927778
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=65
This commit is contained in:
@@ -1,3 +1,44 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 27 13:31:47 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 2.8.4
|
||||
* Fix the ``scope()`` and ``frame()`` methods of ``NamedExpr``
|
||||
nodes. When these nodes occur in ``Arguments``, ``Keyword`` or
|
||||
``Comprehension`` nodes these methods now correctly point to
|
||||
the outer-scope of the ``FunctionDef``, ``ClassDef``, or
|
||||
``Comprehension``.
|
||||
* Fix the ``set_local`` function for ``NamedExpr`` nodes. When
|
||||
these nodes occur in ``Arguments``, ``Keyword``, or
|
||||
``Comprehension`` nodes these nodes are now correctly added to
|
||||
the locals of the ``FunctionDef``, ``ClassDef``, or
|
||||
``Comprehension``.
|
||||
- Release 2.8.3?
|
||||
* Add support for wrapt 1.13
|
||||
* Fixes handling of nested partial functions
|
||||
* Fix regression with the import resolver
|
||||
* Fix crash with invalid dataclass field call
|
||||
- Release 2.8.1
|
||||
* Adds support of type hints inside numpy's brains.
|
||||
* Enable inference of dataclass import from pydantic.dataclasses.
|
||||
This allows the dataclasses brain to recognize pydantic
|
||||
dataclasses.
|
||||
* Fix regression on ClassDef inference
|
||||
* Fix regression on Compare node inference
|
||||
* Extended attrs brain to support the provisional APIs
|
||||
* Astroid does not trigger it's own deprecation warning anymore.
|
||||
* Improve brain for ``typing.Callable`` and ``typing.Type``.
|
||||
* Fix bug with importing namespace packages with relative imports
|
||||
* The ``is_typing_guard`` and ``is_sys_guard`` functions are
|
||||
deprecated and will be removed in 3.0.0. They are complex
|
||||
meta-inference functions that are better suited for pylint.
|
||||
Import them from ``pylint.checkers.utils`` instead (requires
|
||||
pylint ``2.12``).
|
||||
* Suppress the conditional between applied brains and dynamic
|
||||
import authorized modules. (Revert the "The transforms related
|
||||
to a module are applied only if this module has not been
|
||||
explicitly authorized to be imported" of version 2.7.3)
|
||||
* Adds a brain to infer the ``numpy.ma.masked_where`` function.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 3 17:17:52 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user