What's new in astroid 4.3.4?
Release date: 2026-10-08
Bug Fixes
-
Fix a
RecursionErrorwhen building a module from a live object that holds a
container containing itself.Closes #2974
Closes pylint-dev/pylint#10459 -
Arguments.default_value()no longer raisesIndexErrorwhen a keyword-only
argument repeats the name of*argsor**kwargs, as indef f(x, *y, y).Closes #3259
-
Fix an infinite loop when introspecting a live class that exposes itself, or a
sibling class, as one of its own attributes.Closes #3284
-
Fix a
TypeErrorcrash when inferringrandom.sample()on a sequence whose
elements are inferred asInstance.Closes #3310
-
Catch
ValueErrorduring comparison inference (such as invalid byte values in bytes membership checks) and returnUninferableinstead of raising an uncaught exception.Closes #3333
-
A function whose body is only
...is now inferred to returnUninferable
instead ofNone, the same as a function whose body is onlypass. This
is the astroid part of the fix for a false positivenot-callablein pylint
when calling a...property stub, such as thesqlalchemy.funchelpers.Refs #3347
Refs pylint-dev/pylint#8138