github pylint-dev/astroid v4.2.0b3

pre-releaseone day ago

What's New in astroid 4.2.0b3?

Release date: 2026-04-24

  • Fix RecursionError in _compute_mro() when circular class hierarchies
    are created through runtime name rebinding. Circular bases are now resolved
    to the original class instead of recursing.

    Closes #3023
    Closes pylint-dev/pylint#10821

  • Changed block_range to consider else its own block, allowing pylint to apply
    disables to just the block.

    References pylint-dev/pylint#872

Note that this changelog also includes changes from previous betas.

Don't miss a new astroid release

NewReleases is sending notifications on new releases.