Skip to content

Releases: pylint-dev/astroid

v3.3.2

11 Aug 12:00
Compare
Choose a tag to compare

What's New in astroid 3.3.2?

Release date: 2024-08-11

  • Restore support for soft-deprecated members of the typing module with python 3.13.

    Refs pylint-dev/pylint#9852

v3.3.1

06 Aug 13:04
Compare
Choose a tag to compare

What's New in astroid 3.3.1?

Release date: 2024-08-06

  • Fix a crash introduced in 3.3.0 involving invalid format strings.

    Closes #2492

v3.3.0

04 Aug 15:33
Compare
Choose a tag to compare

What's New in astroid 3.3.0?

Release date: 2024-08-04

  • Add support for Python 3.13.

  • Remove support for Python 3.8 (and constants PY38, PY39_PLUS, and PYPY_7_3_11_PLUS).

    Refs #2443

  • Add the __annotations__ attribute to the ClassDef object model.

    Closes pylint-dev/pylint#7126

  • Implement inference for JoinedStr and FormattedValue

  • Add support for ssl.OP_LEGACY_SERVER_CONNECT (new in Python 3.12).

    Closes pylint-dev/pylint#9849

v3.2.4

20 Jul 12:57
f022800
Compare
Choose a tag to compare

What's New in astroid 3.2.4?

Release date: 2024-07-20

  • Avoid reporting unary/binary op type errors when inference is ambiguous.

    Closes #2467

v3.2.3

11 Jul 15:08
30ea720
Compare
Choose a tag to compare

What's New in astroid 3.2.3?

Release date: 2024-07-11

  • Fix AssertionError when inferring a property consisting of a partial function.

Closes pylint-dev/pylint#9214

v3.2.2

19 May 22:25
a35821a
Compare
Choose a tag to compare

What's New in astroid 3.2.2?

Release date: 2024-05-20

v3.2.1

16 May 11:59
0ce116d
Compare
Choose a tag to compare

What's New in astroid 3.2.1?

Release date: 2024-05-16

v3.2.0

07 May 11:57
Compare
Choose a tag to compare
  • .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

v3.1.0

23 Feb 16:27
Compare
Choose a tag to compare
  • Include PEP 695 (Python 3.12) generic type syntax nodes in get_children(),
    allowing checkers to visit them.
    Refs pylint-dev/pylint#9193
  • Add __main__ as a possible inferred value for __name__ to improve
    control flow inference around if __name__ == "__main__": guards.
    Closes #2071
  • Following a deprecation period, the names arg to the Import constructor and
    the op arg to the BoolOp constructor are now required, and the doc args
    to the PartialFunction and Property constructors have been removed (call
    postinit(doc_node=...) instead.)
  • Following a deprecation announced in astroid 1.5.0, the alias AstroidBuildingException is removed in favor of AstroidBuildingError.
  • Include modname in AST warnings. Useful for invalid escape sequence warnings
    with Python 3.12.
  • RecursionError is now trapped and logged out as UserWarning during astroid node transformations with instructions about raising the system recursion limit.
    Closes pylint-dev/pylint#8842
  • Suppress SyntaxWarning for invalid escape sequences on Python 3.12 when parsing modules.
    Closes pylint-dev/pylint#9322

v3.0.3

04 Feb 15:15
0375d1a
Compare
Choose a tag to compare