github pylint-dev/astroid v4.3.1
4.3.1

4 hours ago

What's New in astroid 4.3.1?

Release date: 2026-08-17

  • Fix inference of the attributes of a namedtuple created with
    rename=True. The renamed fields were applied to _fields and to the
    class body, but the instance kept the field names as written, so an instance
    of namedtuple("Tuple", "abc def", rename=True) was inferred as having a
    def attribute instead of _1, and duplicate field names collapsed into
    a single attribute instead of being renamed.

    Closes #242

Don't miss a new astroid release

NewReleases is sending notifications on new releases.