github pylint-dev/astroid v4.3.3

7 hours ago

What's new in astroid 4.3.3?

Release date: 2026-09-30

Bug Fixes

  • Preserve the length of inferred list and tuple concatenations when an element
    has multiple possible values. An ambiguous or uninferable element is now
    represented as unknown instead of being expanded into multiple sequence items.

    Refs #3221
    Closes pylint-dev/pylint#2621

  • Fix TypeError in ClassDef.getitem when __class_getitem__ is uninferable.

    Closes #3312

  • Fix AssertionError in NodeNG.root() when inferring Class.__bases__, which previously returned a parentless Tuple.

    Closes pylint-dev/pylint#11491

Don't miss a new astroid release

NewReleases is sending notifications on new releases.