pkgsrc/devel/py-astroid/PLIST
adam 0666ddeda0 py-astroid: updated to 2.4.1
What's New in astroid 2.4.1?
* Handle the case where the raw builder fails to retrieve the ``__all__`` attribute
* Restructure the AST parsing heuristic to always pick the same module
* Changed setup.py to work with [distlib](https://pypi.org/project/distlib)
* Do not crash with SyntaxError when parsing namedtuples with invalid label
* Protect against ``infer_call_result`` failing with `InferenceError` in `Super.getattr()`

What's New in astroid 2.4.0?
* Expose a ast_from_string method in AstroidManager, which will accept
  source code as a string and return the corresponding astroid object
* ``BoundMethod.implicit_parameters`` returns a proper value for ``__new__``
* Allow slots added dynamically to a class to still be inferred
* Allow `FunctionDef.getattr` to look into both instance attrs and special attributes
* Infer qualified ``classmethod`` as a classmethod.
* Prevent a recursion error to happen when inferring the declared metaclass of a class
* Raise ``AttributeInferenceError`` when ``getattr()`` receives an empty name
* Prevent a recursion error for self reference variables and `type()` calls.
* Do not infer the first argument of a staticmethod in a metaclass as the class itself
* ``NodeNG.bool_value()`` gained an optional ``context`` parameter
  We need to pass an inference context downstream when inferring the boolean
  value of a node in order to prevent recursion errors and double inference.
  This fix prevents a recursion error with dask library.
* Pass a context argument to ``astroid.Arguments`` to prevent recursion errors
* Better inference of class and static methods decorated with custom methods
* Reverse the order of decorators for `infer_subscript`
  `path_wrapper` needs to come first, followed by `raise_if_nothing_inferred`,
  otherwise we won't handle `StopIteration` correctly.
* Prevent a recursion error when inferring self-referential variables without definition
* Numpy `datetime64.astype` return value is inferred as a `ndarray`.
* Skip non ``Assign`` and ``AnnAssign`` nodes from enum reinterpretation
* Numpy ``ndarray`` attributes ``imag`` and ``real`` are now inferred as ``ndarray``.
* Added a call to ``register_transform`` for all functions of the ``brain_numpy_core_multiarray``
  module in case the current node is an instance of ``astroid.Name``
* Use the parent of the node when inferring aug assign nodes instead of the statement
* Added some functions to the ``brain_numpy_core_umath`` module
* Added some functions of the ``numpy.core.multiarray`` module
* All the ``numpy ufunc`` functions derived now from a common class that
  implements the specific ``reduce``, ``accumulate``, ``reduceat``,
        ``outer`` and ``at`` methods.
* ``nodes.Const.itered`` returns a list of ``Const`` nodes, not strings
* The ``shape`` attribute of a ``numpy ndarray`` is now a ``ndarray``
* Don't ignore special methods when inspecting gi classes
* Added transform for ``scipy.gaussian``
* Add suport for inferring properties.
* Added a brain for ``responses``
* Allow inferring positional only arguments.
* Retry parsing a module that has invalid type comments
  It is possible for a module to use comments that might be interpreted
  as type comments by the `ast` library. We do not want to completely crash on those
  invalid type comments.
* Scope the inference to the current bound node when inferring instances of classes
  When inferring instances of classes from arguments, such as ``self``
  in a bound method, we could use as a hint the context's ``boundnode``,
  which indicates the instance from which the inference originated.
  As an example, a subclass that uses a parent's method which returns
  ``self``, will override the ``self`` to point to it instead of pointing
  to the parent class.
* Add support for inferring exception instances in all contexts
  We were able to infer exception instances as ``ExceptionInstance``
  only for a handful of cases, but not all. ``ExceptionInstance`` has
  support for better inference of `.args` and other exception related
  attributes that normal instances do not have.
  This additional support should remove certain false positives related
  to ``.args`` and other exception attributes in ``pylint``.
* Add more supported parameters to ``subprocess.check_output``
* Infer args unpacking of ``self``
  Certain stdlib modules use ``*args`` to encapsulate
  the ``self`` parameter, which results in uninferable
  instances given we rely on the presence of the ``self``
  argument to figure out the instance where we should be
  setting attributes.
* Clean up setup.py
  Make pytest-runner a requirement only if running tests, similar to what was
  done with McCabe.
  Clean up the setup.py file, resolving a handful of minor warnings with it.
* Handle StopIteration error in infer_int.
* Can access per argument type comments for positional only and keyword only arguments.
  The comments are accessed through through the new
  ``Arguments.type_comment_posonlyargs`` and
  ``Arguments.type_comment_kwonlyargs`` attributes respectively.
* Relax upper bound on `wrapt`
* Properly analyze CFFI compiled extensions.
2020-05-05 18:18:55 +00:00

222 lines
9.3 KiB
Text

@comment $NetBSD: PLIST,v 1.11 2020/05/05 18:18:55 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/astroid/__init__.py
${PYSITELIB}/astroid/__init__.pyc
${PYSITELIB}/astroid/__init__.pyo
${PYSITELIB}/astroid/__pkginfo__.py
${PYSITELIB}/astroid/__pkginfo__.pyc
${PYSITELIB}/astroid/__pkginfo__.pyo
${PYSITELIB}/astroid/_ast.py
${PYSITELIB}/astroid/_ast.pyc
${PYSITELIB}/astroid/_ast.pyo
${PYSITELIB}/astroid/arguments.py
${PYSITELIB}/astroid/arguments.pyc
${PYSITELIB}/astroid/arguments.pyo
${PYSITELIB}/astroid/as_string.py
${PYSITELIB}/astroid/as_string.pyc
${PYSITELIB}/astroid/as_string.pyo
${PYSITELIB}/astroid/bases.py
${PYSITELIB}/astroid/bases.pyc
${PYSITELIB}/astroid/bases.pyo
${PYSITELIB}/astroid/brain/brain_argparse.py
${PYSITELIB}/astroid/brain/brain_argparse.pyc
${PYSITELIB}/astroid/brain/brain_argparse.pyo
${PYSITELIB}/astroid/brain/brain_attrs.py
${PYSITELIB}/astroid/brain/brain_attrs.pyc
${PYSITELIB}/astroid/brain/brain_attrs.pyo
${PYSITELIB}/astroid/brain/brain_boto3.py
${PYSITELIB}/astroid/brain/brain_boto3.pyc
${PYSITELIB}/astroid/brain/brain_boto3.pyo
${PYSITELIB}/astroid/brain/brain_builtin_inference.py
${PYSITELIB}/astroid/brain/brain_builtin_inference.pyc
${PYSITELIB}/astroid/brain/brain_builtin_inference.pyo
${PYSITELIB}/astroid/brain/brain_collections.py
${PYSITELIB}/astroid/brain/brain_collections.pyc
${PYSITELIB}/astroid/brain/brain_collections.pyo
${PYSITELIB}/astroid/brain/brain_crypt.py
${PYSITELIB}/astroid/brain/brain_crypt.pyc
${PYSITELIB}/astroid/brain/brain_crypt.pyo
${PYSITELIB}/astroid/brain/brain_curses.py
${PYSITELIB}/astroid/brain/brain_curses.pyc
${PYSITELIB}/astroid/brain/brain_curses.pyo
${PYSITELIB}/astroid/brain/brain_dataclasses.py
${PYSITELIB}/astroid/brain/brain_dataclasses.pyc
${PYSITELIB}/astroid/brain/brain_dataclasses.pyo
${PYSITELIB}/astroid/brain/brain_dateutil.py
${PYSITELIB}/astroid/brain/brain_dateutil.pyc
${PYSITELIB}/astroid/brain/brain_dateutil.pyo
${PYSITELIB}/astroid/brain/brain_fstrings.py
${PYSITELIB}/astroid/brain/brain_fstrings.pyc
${PYSITELIB}/astroid/brain/brain_fstrings.pyo
${PYSITELIB}/astroid/brain/brain_functools.py
${PYSITELIB}/astroid/brain/brain_functools.pyc
${PYSITELIB}/astroid/brain/brain_functools.pyo
${PYSITELIB}/astroid/brain/brain_gi.py
${PYSITELIB}/astroid/brain/brain_gi.pyc
${PYSITELIB}/astroid/brain/brain_gi.pyo
${PYSITELIB}/astroid/brain/brain_hashlib.py
${PYSITELIB}/astroid/brain/brain_hashlib.pyc
${PYSITELIB}/astroid/brain/brain_hashlib.pyo
${PYSITELIB}/astroid/brain/brain_http.py
${PYSITELIB}/astroid/brain/brain_http.pyc
${PYSITELIB}/astroid/brain/brain_http.pyo
${PYSITELIB}/astroid/brain/brain_io.py
${PYSITELIB}/astroid/brain/brain_io.pyc
${PYSITELIB}/astroid/brain/brain_io.pyo
${PYSITELIB}/astroid/brain/brain_mechanize.py
${PYSITELIB}/astroid/brain/brain_mechanize.pyc
${PYSITELIB}/astroid/brain/brain_mechanize.pyo
${PYSITELIB}/astroid/brain/brain_multiprocessing.py
${PYSITELIB}/astroid/brain/brain_multiprocessing.pyc
${PYSITELIB}/astroid/brain/brain_multiprocessing.pyo
${PYSITELIB}/astroid/brain/brain_namedtuple_enum.py
${PYSITELIB}/astroid/brain/brain_namedtuple_enum.pyc
${PYSITELIB}/astroid/brain/brain_namedtuple_enum.pyo
${PYSITELIB}/astroid/brain/brain_nose.py
${PYSITELIB}/astroid/brain/brain_nose.pyc
${PYSITELIB}/astroid/brain/brain_nose.pyo
${PYSITELIB}/astroid/brain/brain_numpy_core_fromnumeric.py
${PYSITELIB}/astroid/brain/brain_numpy_core_fromnumeric.pyc
${PYSITELIB}/astroid/brain/brain_numpy_core_fromnumeric.pyo
${PYSITELIB}/astroid/brain/brain_numpy_core_function_base.py
${PYSITELIB}/astroid/brain/brain_numpy_core_function_base.pyc
${PYSITELIB}/astroid/brain/brain_numpy_core_function_base.pyo
${PYSITELIB}/astroid/brain/brain_numpy_core_multiarray.py
${PYSITELIB}/astroid/brain/brain_numpy_core_multiarray.pyc
${PYSITELIB}/astroid/brain/brain_numpy_core_multiarray.pyo
${PYSITELIB}/astroid/brain/brain_numpy_core_numeric.py
${PYSITELIB}/astroid/brain/brain_numpy_core_numeric.pyc
${PYSITELIB}/astroid/brain/brain_numpy_core_numeric.pyo
${PYSITELIB}/astroid/brain/brain_numpy_core_numerictypes.py
${PYSITELIB}/astroid/brain/brain_numpy_core_numerictypes.pyc
${PYSITELIB}/astroid/brain/brain_numpy_core_numerictypes.pyo
${PYSITELIB}/astroid/brain/brain_numpy_core_umath.py
${PYSITELIB}/astroid/brain/brain_numpy_core_umath.pyc
${PYSITELIB}/astroid/brain/brain_numpy_core_umath.pyo
${PYSITELIB}/astroid/brain/brain_numpy_ndarray.py
${PYSITELIB}/astroid/brain/brain_numpy_ndarray.pyc
${PYSITELIB}/astroid/brain/brain_numpy_ndarray.pyo
${PYSITELIB}/astroid/brain/brain_numpy_random_mtrand.py
${PYSITELIB}/astroid/brain/brain_numpy_random_mtrand.pyc
${PYSITELIB}/astroid/brain/brain_numpy_random_mtrand.pyo
${PYSITELIB}/astroid/brain/brain_numpy_utils.py
${PYSITELIB}/astroid/brain/brain_numpy_utils.pyc
${PYSITELIB}/astroid/brain/brain_numpy_utils.pyo
${PYSITELIB}/astroid/brain/brain_pkg_resources.py
${PYSITELIB}/astroid/brain/brain_pkg_resources.pyc
${PYSITELIB}/astroid/brain/brain_pkg_resources.pyo
${PYSITELIB}/astroid/brain/brain_pytest.py
${PYSITELIB}/astroid/brain/brain_pytest.pyc
${PYSITELIB}/astroid/brain/brain_pytest.pyo
${PYSITELIB}/astroid/brain/brain_qt.py
${PYSITELIB}/astroid/brain/brain_qt.pyc
${PYSITELIB}/astroid/brain/brain_qt.pyo
${PYSITELIB}/astroid/brain/brain_random.py
${PYSITELIB}/astroid/brain/brain_random.pyc
${PYSITELIB}/astroid/brain/brain_random.pyo
${PYSITELIB}/astroid/brain/brain_re.py
${PYSITELIB}/astroid/brain/brain_re.pyc
${PYSITELIB}/astroid/brain/brain_re.pyo
${PYSITELIB}/astroid/brain/brain_responses.py
${PYSITELIB}/astroid/brain/brain_responses.pyc
${PYSITELIB}/astroid/brain/brain_responses.pyo
${PYSITELIB}/astroid/brain/brain_scipy_signal.py
${PYSITELIB}/astroid/brain/brain_scipy_signal.pyc
${PYSITELIB}/astroid/brain/brain_scipy_signal.pyo
${PYSITELIB}/astroid/brain/brain_six.py
${PYSITELIB}/astroid/brain/brain_six.pyc
${PYSITELIB}/astroid/brain/brain_six.pyo
${PYSITELIB}/astroid/brain/brain_ssl.py
${PYSITELIB}/astroid/brain/brain_ssl.pyc
${PYSITELIB}/astroid/brain/brain_ssl.pyo
${PYSITELIB}/astroid/brain/brain_subprocess.py
${PYSITELIB}/astroid/brain/brain_subprocess.pyc
${PYSITELIB}/astroid/brain/brain_subprocess.pyo
${PYSITELIB}/astroid/brain/brain_threading.py
${PYSITELIB}/astroid/brain/brain_threading.pyc
${PYSITELIB}/astroid/brain/brain_threading.pyo
${PYSITELIB}/astroid/brain/brain_typing.py
${PYSITELIB}/astroid/brain/brain_typing.pyc
${PYSITELIB}/astroid/brain/brain_typing.pyo
${PYSITELIB}/astroid/brain/brain_uuid.py
${PYSITELIB}/astroid/brain/brain_uuid.pyc
${PYSITELIB}/astroid/brain/brain_uuid.pyo
${PYSITELIB}/astroid/builder.py
${PYSITELIB}/astroid/builder.pyc
${PYSITELIB}/astroid/builder.pyo
${PYSITELIB}/astroid/context.py
${PYSITELIB}/astroid/context.pyc
${PYSITELIB}/astroid/context.pyo
${PYSITELIB}/astroid/decorators.py
${PYSITELIB}/astroid/decorators.pyc
${PYSITELIB}/astroid/decorators.pyo
${PYSITELIB}/astroid/exceptions.py
${PYSITELIB}/astroid/exceptions.pyc
${PYSITELIB}/astroid/exceptions.pyo
${PYSITELIB}/astroid/helpers.py
${PYSITELIB}/astroid/helpers.pyc
${PYSITELIB}/astroid/helpers.pyo
${PYSITELIB}/astroid/inference.py
${PYSITELIB}/astroid/inference.pyc
${PYSITELIB}/astroid/inference.pyo
${PYSITELIB}/astroid/interpreter/__init__.py
${PYSITELIB}/astroid/interpreter/__init__.pyc
${PYSITELIB}/astroid/interpreter/__init__.pyo
${PYSITELIB}/astroid/interpreter/_import/__init__.py
${PYSITELIB}/astroid/interpreter/_import/__init__.pyc
${PYSITELIB}/astroid/interpreter/_import/__init__.pyo
${PYSITELIB}/astroid/interpreter/_import/spec.py
${PYSITELIB}/astroid/interpreter/_import/spec.pyc
${PYSITELIB}/astroid/interpreter/_import/spec.pyo
${PYSITELIB}/astroid/interpreter/_import/util.py
${PYSITELIB}/astroid/interpreter/_import/util.pyc
${PYSITELIB}/astroid/interpreter/_import/util.pyo
${PYSITELIB}/astroid/interpreter/dunder_lookup.py
${PYSITELIB}/astroid/interpreter/dunder_lookup.pyc
${PYSITELIB}/astroid/interpreter/dunder_lookup.pyo
${PYSITELIB}/astroid/interpreter/objectmodel.py
${PYSITELIB}/astroid/interpreter/objectmodel.pyc
${PYSITELIB}/astroid/interpreter/objectmodel.pyo
${PYSITELIB}/astroid/manager.py
${PYSITELIB}/astroid/manager.pyc
${PYSITELIB}/astroid/manager.pyo
${PYSITELIB}/astroid/mixins.py
${PYSITELIB}/astroid/mixins.pyc
${PYSITELIB}/astroid/mixins.pyo
${PYSITELIB}/astroid/modutils.py
${PYSITELIB}/astroid/modutils.pyc
${PYSITELIB}/astroid/modutils.pyo
${PYSITELIB}/astroid/node_classes.py
${PYSITELIB}/astroid/node_classes.pyc
${PYSITELIB}/astroid/node_classes.pyo
${PYSITELIB}/astroid/nodes.py
${PYSITELIB}/astroid/nodes.pyc
${PYSITELIB}/astroid/nodes.pyo
${PYSITELIB}/astroid/objects.py
${PYSITELIB}/astroid/objects.pyc
${PYSITELIB}/astroid/objects.pyo
${PYSITELIB}/astroid/protocols.py
${PYSITELIB}/astroid/protocols.pyc
${PYSITELIB}/astroid/protocols.pyo
${PYSITELIB}/astroid/raw_building.py
${PYSITELIB}/astroid/raw_building.pyc
${PYSITELIB}/astroid/raw_building.pyo
${PYSITELIB}/astroid/rebuilder.py
${PYSITELIB}/astroid/rebuilder.pyc
${PYSITELIB}/astroid/rebuilder.pyo
${PYSITELIB}/astroid/scoped_nodes.py
${PYSITELIB}/astroid/scoped_nodes.pyc
${PYSITELIB}/astroid/scoped_nodes.pyo
${PYSITELIB}/astroid/test_utils.py
${PYSITELIB}/astroid/test_utils.pyc
${PYSITELIB}/astroid/test_utils.pyo
${PYSITELIB}/astroid/transforms.py
${PYSITELIB}/astroid/transforms.pyc
${PYSITELIB}/astroid/transforms.pyo
${PYSITELIB}/astroid/util.py
${PYSITELIB}/astroid/util.pyc
${PYSITELIB}/astroid/util.pyo