Path to this page:
Subject: CVS commit: pkgsrc/devel/py-astroid
From: Adam Ciarcinski
Date: 2023-03-09 10:47:47
Message id: 20230309094748.079DEFA90@cvs.NetBSD.org
Log Message:
py-astroid: updated to 2.15.0
What's New in astroid 2.15.0?
* astroid now supports ``TryStar`` nodes from python 3.11 and should be fully \
compatible with python 3.11.
* ``Formattedvalue.postinit`` is now keyword only. This is to allow correct \
typing of the
``Formattedvalue`` class.
* ``Astroid`` now supports custom import hooks.
* ``astroid`` now infers return values from match cases.
* ``AstroidManager.clear_cache`` now also clears the inference context cache.
* ``Astroid`` now retrieves the default values of keyword only arguments and \
sets them on
``Arguments.kw_defaults``.
* ``Uninferable`` now has the type ``UninferableBase``. This is to facilitate \
correctly type annotating
code that uses this singleton.
* Deprecate ``modutils.is_standard_module()``. It will be removed in the next \
minor release.
Functionality has been replaced by two new functions,
``modutils.is_stdlib_module()`` and ``modutils.module_in_path()``.
* Fix ``are_exclusive`` function when a walrus operator is used inside \
``IfExp.test`` field.
Files: