Skip to content

Releases: pylint-dev/astroid

v2.15.4

24 Apr 08:54
420a59a
Compare
Choose a tag to compare
  • Add visitor function for TryStar to AsStringVisitor and
    add TryStar to astroid.nodes.ALL_NODE_CLASSES.

    Refs #2142

v2.15.3

16 Apr 20:55
Compare
Choose a tag to compare
  • Fix infer_call_result() crash on methods called with_metaclass().

    Closes #1735

  • Suppress UserWarning when finding module specs.

    Closes pylint-dev/pylint#7906

v2.15.2

03 Apr 10:20
Compare
Choose a tag to compare

v2.15.1

26 Mar 13:53
Compare
Choose a tag to compare

v2.15.0

05 Mar 23:08
edf88c6
Compare
Choose a tag to compare
  • 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 pylint-dev/pylint#7306

  • astroid now infers return values from match cases.

    Refs pylint-dev/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

v2.14.2

12 Feb 17:15
Compare
Choose a tag to compare
  • '_infer_str_format_call' won't crash anymore when the string it analyses are uninferable.

    Closes pylint-dev/pylint#8109

v2.14.1

31 Jan 21:39
b421414
Compare
Choose a tag to compare
  • Revert CallContext change as it caused a RecursionError regression.

v2.14.0

31 Jan 14:41
b644c1e
Compare
Choose a tag to compare
  • Add support for inferring binary union types added in Python 3.10.
    Refs pylint-dev/pylint#8119
  • Capture and log messages emitted when inspecting a module for astroid.
    Closes #1904

v2.13.5

31 Jan 21:19
de9736d
Compare
Choose a tag to compare
  • Revert CallContext change as it caused a RecursionError regression.

v2.13.4

31 Jan 13:19
d9023ef
Compare
Choose a tag to compare
  • Fix issues with typing_extensions.TypeVar.
  • Fix ClassDef.fromlino for PyPy 3.8 (v7.3.11) if class is wrapped by a decorator.
  • Preserve parent CallContext when inferring nested functions.
    Closes pylint-dev/pylint#8074
  • Add Lock to the multiprocessing brain.
    Closes pylint-dev/pylint#3313