Skip to content

Releases: pylint-dev/astroid

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

v2.12.11

10 Oct 12:04
Compare
Choose a tag to compare
  • Improve detection of namespace packages for the modules with __spec__ set to None.

    Closes pylint-dev/pylint#7488.

  • Fixed a regression in the creation of the __init__ of dataclasses with
    multiple inheritance.

    Closes pylint-dev/pylint#7434

v2.12.10

17 Sep 16:46
Compare
Choose a tag to compare
  • Fixed a crash when introspecting modules compiled by cffi.

    Closes #1776
    Closes pylint-dev/pylint#7399

  • decorators.cached now gets its cache cleared by calling AstroidManager.clear_cache.

    Refs #1780

v2.12.9

07 Sep 10:45
Compare
Choose a tag to compare