Subject: CVS commit: pkgsrc/devel/py-astroid
From: Filip Hajny
Date: 2017-02-28 18:15:24
Message id: 20170228171524.C234FFBE4@cvs.NetBSD.org

Log Message:
Update devel/py-astroid to 1.4.9.

2016-12-18 -- 1.4.9
- Cast __path__ to a list in _module_file
- Add support for pytest 3.0.

2016-07-27 -- 1.4.8
- Add `returns` into the proper order in FunctionDef._astroid_fields

2016-07-07 -- 1.4.7
- Stop saving assignment locals in ExceptHandlers, when the context is a
  store.

2016-06-06 -- 1.4.6
- Fix a crash which occurred when the class of a namedtuple could not be
  inferred.
- Functional form of enums support accessing values through __call__.
- Brain tips for the ssl library.

2016-03-21 -- 1.4.5
- decoratornames() does not leak InferenceError anymore.
- wildcard_imported_names() got replaced by _public_names()

2016-01-15 -- 1.4.4
- unpack_infer raises InferenceError if it can't operate
  with the given sequences of nodes.
- Support accessing properties with super().
- Enforce strong updates per frames.

2015-12-24 -- 1.4.3
- pkg_resources brain tips are a bit more specific,
  by specifiying proper returns.
- Standard library modules are properly detected by is_standard_module.

2015-12-21 -- 1.4.2
- The slots() method conflates all the slots from the ancestors
  into a list of current and parent slots.
- Revert to using printf-style formatting in as_string, in order
  to avoid a potential problem with encodings when using .format.
- assigned_stmts methods have the same signature from now on.

2015-11-29 -- 1.4.1
- Add support for handling Uninferable nodes when calling as_string

2015-11-29 -- 1.4.0
- Class.getattr('__mro__') returns the actual MRO.
- The logilab-common dependency is not needed anymore as the needed code
  was integrated into astroid.
- Add 'assert_equals' method in nose.tools's brain plugin.
- Generated enum member stubs now support IntEnum and multiple
  base classes.
- Add brain tips for multiprocessing.Manager and
  multiprocessing.managers.SyncManager.
- Add brain tips for multiprocessing post Python 3.4+,
  where the module level functions are retrieved with getattr
  from a context object, leading to many no-member errors
  in Pylint.
- The Generator objects inferred with `infer_call_result`
  from functions have as parent the function from which they
  are returned.
- Understand partially the 3-argument form of `type`.
  The only change is that astroid understands members
  passed in as dictionaries as the third argument.
- Improve the inference of Getattr nodes when dealing with
  abstract properties from the abc module.
- UnboundMethod.getattr calls the getattr of its _proxied object
  and doesn't call super(...) anymore.
- Don't hard fail when calling .mro() on a class which has
  combined both newstyle and old style classes. The class
  in question is actually newstyle (and the __mro__ can be
  retrieved using Python).
- Class.local_attr and Class.local_attr_ancestors uses internally
  a mro lookup, using .mro() method, if they can.
- Expose a implicit_metaclass() method in Class. This will return
  a builtins.type instance for newstyle classes.
- Add two new exceptions for handling MRO error cases.
  DuplicateBasesError
  is emitted when duplicate bases are found in a class,
- Classes aren't marked as interfaces anymore, in the `type` attribute.
- Class.has_dynamic_getattr doesn't return True for special methods
  which aren't implemented in pure Python, as it is the case for
  extension modules.
- Add `igetattr` method to scoped_nodes.Function.
- Add support for Python 3.5's MatMul operation: see PEP 465 for more
  details.
- NotImplemented is detected properly now as being part of the
  builtins module. Previously trying to infer the Name(NotImplemented)
  returned an YES object.
- Add proper grammatical names for `infered` and `ass_type` methods,
  namely `inferred` and `assign_type`.
- Add new AST names in order to be similar to the ones
  from the builtin ast module.
- Star unpacking in assignments returns properly a list,
  not the individual components.
- Lambdas found at class level, which have a `self` argument, are
  considered
- Add annotation support for function.as_string().
- Add support for indexing bytes on Python 3.
- Add support for inferring subscript on instances, which will
  use __getitem__.
- Understand metaclasses added with six.add_metaclass decorator.
- Add a new convenience API, `astroid.parse`, which can be used to
  retrieve an astroid AST from a source code string, similar to how
  ast.parse can be used to obtain a Python AST from a source string.
- do_import_module passes the proper relative_only flag if the level is
  higher than 1.
- There's a new separate step for transforms.
- Add a new node, DictUnpack, which is used to represent the unpacking
  of a dictionary into another dictionary, using PEP 448 specific syntax
  ({1:2, **{2:3})
- Add a new type of node, called *inference objects*.
- Add a new *inference object* called Super, which also adds support for
  understanding super calls.
- astroid.utils.ASTWalker and astroid.utils.LocalsVisitor
  were moved to pylint.pyreverse.utils.

2015-08-02 -- 1.3.8
- Backport of 40e3176, which fixes issue #84.

2015-07-27 -- 1.3.7
- Improve the inference of six.moves, especially when using `from ...
  import ...` syntax. Also, we added a new fail import hook for six.moves,
  which fixes the import-error false positive from pylint.

Files:
RevisionActionfile
1.9modifypkgsrc/devel/py-astroid/Makefile
1.3modifypkgsrc/devel/py-astroid/PLIST
1.4modifypkgsrc/devel/py-astroid/distinfo