2022-09-19 09:51:50 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: py-astroid: updated to 2.12.10 What's New in astroid 2.12.10? ============================== * Fixed a crash when introspecting modules compiled by `cffi`. * ``decorators.cached`` now gets its cache cleared by calling \ ``AstroidManager.clear_cache``. |
2022-09-12 10:27:19 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-astroid: updated to 2.12.9 What's New in astroid 2.12.9? ============================= * Fixed creation of the ``__init__`` of ``dataclassess`` with multiple inheritance. * Fixed a crash on ``namedtuples`` that use ``typename`` to specify their name. |
2022-09-06 21:07:54 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-astroid: updated to 2.12.8 What's New in astroid 2.12.8? ============================= * Fixed a crash in the ``dataclass`` brain for ``InitVars`` without subscript typing. * Fixed parsing of default values in ``dataclass`` attributes. What's New in astroid 2.12.7? ============================= * Fixed a crash in the ``dataclass`` brain for uninferable bases. |
2022-09-06 08:43:48 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-astroid: updated to 2.12.6 What's New in astroid 2.12.6? * Fix a crash involving ``Uninferable`` arguments to ``namedtuple()``. * The ``dataclass`` brain now understands the ``kw_only`` keyword in dataclass \ decorators. |
2022-08-30 11:58:05 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-astroid: updated to 2.12.5 What's New in astroid 2.12.5? * Prevent first-party imports from being resolved to `site-packages`. * Fix ``astroid.interpreter._import.util.is_namespace()`` incorrectly returning ``True`` for frozen stdlib modules on PyPy. |
2022-08-26 09:43:30 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-astroid: updated to 2.12.4 What's New in astroid 2.12.4? * Fixed a crash involving non-standard type comments such as ``# type: # any \ comment``. What's New in astroid 2.12.3? * Fixed crash in ``ExplicitNamespacePackageFinder`` involving \ ``_SixMetaPathImporter``. * Fix unhandled `FutureWarning` from pandas import in cython modules * Fix false positive with inference of type-annotated Enum classes. * Fix crash with inference of type-annotated Enum classes where the member has \ no value. * Fix a crash inferring invalid old-style string formatting with `%`. * Fix false positive with inference of ``http`` module when iterating ``HTTPStatus``. * Bumped minimum requirement of ``wrapt`` to 1.14 on Python 3.11. * Don't add dataclass fields annotated with ``KW_ONLY`` to the list of fields. |
2022-07-18 20:57:41 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: py-astroid: updated to 2.12.2 What's New in astroid 2.12.2? ============================= * Fixed crash in modulo operations for divisions by zero. * Fixed crash with recursion limits during inference. What's New in astroid 2.12.1? ============================= * Fix a crash when inferring old-style string formatting (``%``) using tuples. * Fix a crash when ``None`` (or a value inferred as ``None``) participates in a ``**`` expression. * Fix a crash involving properties within ``if`` blocks. What's New in astroid 2.12.0? ============================= * Fix signal has no ``connect`` member for PySide2 5.15.2+ and PySide6 * ``astroid`` now requires Python 3.7.2 to run. * Avoid setting a Call as a base for classes created using ``six.with_metaclass()``. * Fix detection of builtins on ``PyPy`` 3.9. * Fix ``re`` brain on Python ``3.11``. The flags now come from ``re._compile``. * Build ``nodes.Module`` for frozen modules which have location information in their ``ModuleSpec``. * The ``astroid.mixins`` module has been deprecated and marked for removal in 3.0.0. * Capture and log messages emitted by C extensions when importing them. This prevents contaminating programmatic output, e.g. pylint's JSON reporter. * Calls to ``str.format`` are now correctly inferred. * ``__new__`` and ``__init__`` have been added to the ``ObjectModel`` and are now inferred as ``BoundMethods``. * Old style string formatting (using ``%`` operators) is now correctly inferred. * Adds missing enums from ``ssl`` module. * Remove dependency on ``pkg_resources`` from ``setuptools``. * Allowed ``AstroidManager.clear_cache`` to reload necessary brain plugins. * Fixed incorrect inferences after rebuilding the builtins module, e.g. by calling ``AstroidManager.clear_cache``. * On Python versions >= 3.9, ``astroid`` now understands subscripting builtin classes such as ``enumerate`` or ``staticmethod``. * Fixed inference of ``Enums`` when they are imported under an alias. * Rename ``ModuleSpec`` -> ``module_type`` constructor parameter to match \ attribute name and improve typing. Use ``type`` instead. * ``ObjectModel`` and ``ClassModel`` now know about their ``__new__`` and \ ``__call__`` attributes. * Fixed pylint ``not-callable`` false positive with nested-tuple assignment in a \ for-loop. * Instances of builtins created with ``__new__(cls, value)`` are now inferred. * Infer the return value of the ``.copy()`` method on ``dict``, ``list``, ``set``, and ``frozenset``. * Fixed inference of elements of living container objects such as tuples and \ sets in the ``sys`` and ``ssl`` modules. * Add ``pathlib`` brain to handle ``pathlib.PurePath.parents`` inference. * Avoid inferring the results of ``**`` operations involving values greater than \ ``1e5`` to avoid expensive computation. * Fix test for Python ``3.11``. In some instances ``err.__traceback__`` will be uninferable now. * Add brain for numpy core module ``einsumfunc``. * Infer the ``DictUnpack`` value for ``Dict.getitem`` calls. * Fix a crash involving properties within ``try ... except`` blocks. * Prevent creating ``Instance`` objects that proxy other ``Instance``s when there is ambiguity (or user error) in calling ``__new__(cls)``. |
2022-06-15 13:21:01 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-astroid: updated to 2.11.6 What's New in astroid 2.11.6? ============================= * The Qt brain now correctly treats calling ``.disconnect()`` (with no arguments) on a slot as valid. * The argparse brain no longer incorrectly adds ``"Namespace"`` to the \ locals of functions that return an ``argparse.Namespace`` object. |
2022-05-10 07:31:58 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-astroid: updated to 2.11.5 v2.11.5 Fix crash while obtaining object_type() of an Unknown node. Fix a bug where in attempting to handle the patching of distutils by virtualenv, library submodules called distutils (e.g. numpy.distutils) were included also. |
2022-05-03 19:50:49 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-astroid: updated to 2.11.4 What's New in astroid 2.11.4? ============================= * Fix ``col_offset`` attribute for nodes involving ``with`` on ``PyPy``. * Fixed a crash involving two starred expressions: one inside a comprehension, both inside a call. * Made ``FunctionDef.implicit_parameters`` return 1 for methods by making ``FunctionDef.is_bound`` return ``True``, as it does for class methods. * Fixed a crash when ``_filter_stmts`` encounters an ``EmptyNode``. |