github pylint-dev/astroid v4.0.0b0

latest releases: v4.0.0b2, v4.0.0b1
pre-releaseone month ago
  • Removed internal functions infer_numpy_member, name_looks_like_numpy_member, and
    attribute_looks_like_numpy_member from astroid.brain.brain_numpy_utils.

  • To alleviate circular imports, the manager argument to AstroidBuilder() is now required.

  • Constants now have a parent of nodes.SYNTHETIC_ROOT.

  • Fix crashes with large positive and negative list multipliers.

    Closes #2521
    Closes #2523

  • Fix precedence of path arg in modpath_from_file_with_callback to be higher than sys.path

  • Following a deprecation period, the future argument was removed from statement() and frame().

  • Improve consistency of JoinedStr inference by not raising InferenceError and
    returning either Uninferable or a fully resolved Const.

    Closes #2621

  • Fix crash when typing._alias() call is missing arguments.

    Closes #2513

  • Remove support for Python 3.9 (and constant PY310_PLUS).

  • Include subclasses of standard property classes as property decorators

    Closes pylint-dev/pylint#10377

  • Modify astroid.bases and tests.test_nodes to reflect that enum.property was added in Python 3.11, not 3.10

  • Fix incorrect result in _get_relative_base_path when the target directory name starts with the base path

    Closes #2608

  • The brain for nose was dropped. nose has been deprecated for 10 years and the brain required some maintenance.

    Refs #2765

  • Fix a crash when the root of a node is not a module but is unknown.

    Closes #2672

Don't miss a new astroid release

NewReleases is sending notifications on new releases.