Skip to content

v3.2.0

Compare
Choose a tag to compare
@jacobtylerwalls jacobtylerwalls released this 07 May 11:57
· 22 commits to main since this release
  • .pyi stub files are now preferred over .py files when resolving imports, (except for numpy).

    Closes pylint-dev/pylint#9185

  • igetattr() returns the last same-named function in a class (instead of
    the first). This avoids false positives in pylint with @overload.

    Closes #1015
    Refs pylint-dev/pylint#4696

  • Adds module_denylist to AstroidManager for modules to be skipped during AST
    generation. Modules in this list will cause an AstroidImportError to be raised
    when an AST for them is requested.

    Refs pylint-dev/pylint#9442

  • Make astroid.interpreter._import.util.is_namespace only consider modules
    using a loader set to NamespaceLoader or None as namespaces.
    This fixes a problem that six.moves brain was not effective if six.moves
    was already imported.

    Closes #1107