github pylint-dev/astroid v2.15.0
2.15.0

latest releases: v3.1.0, v3.0.3, v3.0.2...
13 months ago
  • astroid now supports TryStar nodes from python 3.11 and should be fully compatible with python 3.11.

    Closes #2028

  • Formattedvalue.postinit is now keyword only. This is to allow correct typing of the
    Formattedvalue class.

    Refs #1516

  • Astroid now supports custom import hooks.

    Refs PyCQA/pylint#7306

  • astroid now infers return values from match cases.

    Refs PyCQA/pylint#5288

  • AstroidManager.clear_cache now also clears the inference context cache.

    Refs #1780

  • 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.

    Closes #1680

  • 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().

    Closes #2012

  • Fix are_exclusive function when a walrus operator is used inside IfExp.test field.

    Closes #2022

Don't miss a new astroid release

NewReleases is sending notifications on new releases.