Skip to content

Releases: pylint-dev/astroid

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

v2.13.3

20 Jan 20:32
Compare
Choose a tag to compare
  • Fix a regression in 2.13.2 where a RunTimeError could be raised unexpectedly.

    Closes #1958

  • Fix overwritten attributes in inherited dataclasses not being ordered correctly.

    Closes pylint-dev/pylint#7881

  • Fix a false positive when an attribute named Enum was confused with enum.Enum.
    Calls to Enum are now inferred & the qualified name is checked.

    Refs pylint-dev/pylint#5719

v2.13.2

08 Jan 13:24
Compare
Choose a tag to compare
  • Removed version conditions on typing_extensions dependency. Removed typing_extensions from
    our tests requirements as it was preventing issues to appear in our continuous integration.

    Closes #1945

v2.13.1

08 Jan 11:58
b015ec0
Compare
Choose a tag to compare
  • Bumping typing_extensions to 4.0.0 that is required when using Self

    Closes #1942

v2.13.0

07 Jan 19:03
Compare
Choose a tag to compare