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
TypeErrorinClassDef.getitemwhen__class_getitem__is uninferable.Closes #3312
-
Fix
AssertionErrorinNodeNG.root()when inferringClass.__bases__, which previously returned a parentlessTuple.Closes pylint-dev/pylint#11491