Skip to content

Releases: pylint-dev/astroid

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

v2.12.14

06 Jan 19:33
Compare
Choose a tag to compare

v2.12.13

19 Nov 14:55
Compare
Choose a tag to compare
  • Prevent returning an empty list for ClassDef.slots() when the mro list contains one class & it is not object.

    Refs pylint-dev/pylint#5099

  • Prevent a crash when inferring calls to str.format with inferred arguments
    that would be invalid.

    Closes #1856

  • Infer the length argument of the random.sample function.

    Refs pylint-dev/pylint#7706

  • Catch ValueError when indexing some builtin containers and sequences during inference.

    Closes #1843

v2.12.12

19 Oct 08:48
Compare
Choose a tag to compare
  • Add the length parameter to hash.digest & hash.hexdigest in the hashlib brain.

    Refs pylint-dev/pylint#4039

  • Prevent a crash when a module's __path__ attribute is unexpectedly missing.

    Refs pylint-dev/pylint#7592

  • Fix inferring attributes with empty annotation assignments if parent
    class contains valid assignment.

    Refs pylint-dev/pylint#7631