./devel/py-astroid, Rebuild a new abstract syntax tree from Pythons ast

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 1.6.2, Package name: py27-astroid-1.6.2, Maintainer: kamel.derouiche

The aim of this module is to provide a common base representation of
python source code for projects such as pychecker, pyreverse,
pylint... Well, actually the development of this library is essentially
governed by pylint's needs. It used to be called logilab-astng

Required to run:
[devel/py-setuptools] [lang/python27] [lang/py-six] [devel/py-enum34] [devel/py-singledispatch] [devel/py-wrapt] [devel/py-backports.functools_lru_cache] [devel/py-lazy-object-proxy]

Required to build:

Master sites:

SHA1: ec19adfd9d468a3df9ee111b928d31a7b096a545
RMD160: 5a08573d7da34a52eba71524898c74f2741feeb6
Filesize: 248.661 KB

Version history: (Expand)

CVS history: (Expand)

   2018-03-17 07:52:50 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-astroid: updated to 1.6.2

* Fix submodule imports from six
* Enhancement of brain_numpy by adding different types from
* Fix RecursionError for augmented assign
* Stop most inference tip overwrites from happening by using
  predicates on existing inference_tip transforms.
* Add missing attrs special attribute
* Fix contextlib.contextmanager inference for nested context managers
   2018-01-31 12:50:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-astroid: updated to 1.6.1

* Fix a crash when __annotations__ access a parent's __init__ that does not have \ 
   2017-12-21 10:57:45 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
astroid: updated to 1.6.0

* When verifying duplicates classes in MRO, ignore on-the-fly generated classes
* Add brain tip for attrs library to prevent unsupported-assignment-operation \ 
false positives
* file_stream was removed, since it was deprecated for three releases
  Instead one should use the .stream() method.
* Vast improvements to numpy support
* Add brain tips for curses
* Add brain tips for UUID.int
* The result of using object.__new__ as class decorator is correctly inferred as \ 
* Enums created with functional syntax are now iterable
* Enums created with functional syntax are now subscriptable
* Don't crash when getting the string representation of BadUnaryOperationMessage
  In some cases, when the operand does not have a .name attribute,
  getting the string representation of a BadUnaryOperationMessage leads
  to a crash.
* Don't raise DuplicateBaseError when classes at different locations are used
  For instance, one can implement a namedtuple base class, which gets reused
  on a class with the same name later on in the file. Until now, we considered
  these two classes as being the same, because they shared the name, but in fact
  they are different, being created at different locations and through different
 * The func form of namedtuples with keywords is now understood
 * Dunder class at method level is now inferred as the class of the method
   2017-09-03 10:53:18 by Thomas Klausner | Files touched by this commit (165)
Log message:
Follow some redirects.
   2017-07-16 22:14:16 by Adam Ciarcinski | Files touched by this commit (3)
Log message:

* enum34 dependency is forced to be at least version 1.1.3. Fixes spurious
bug related to enum classes being falsy in boolean context, which caused
_Inconsistent Hierarchy_ `RuntimeError` in `singledispatch` module.

* Do not raise an exception when uninferable value is unpacked in ``with`` statement.

* Lock objects from ``threading`` module are now correctly recognised
  as context managers.
   2017-02-28 18:15:24 by Filip Hajny | Files touched by this commit (3) | Package updated
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

2016-06-06 -- 1.4.6
- Fix a crash which occurred when the class of a namedtuple could not be
- 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
- 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.
  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
- 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
- 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.
   2016-08-29 17:44:26 by D'Arcy J.M. Cain | Files touched by this commit (6) | Package updated
Log message:
Update devel/py-logilab-common to version 1.2.0.
This is mainly to remove dependency on time/py-mxDateTime so that it can
build on Python >= 3.4.
Removed PYTHON_VERSIONS_INCOMPATIBLE line from this and other packages
that had it for this incompatibility.
   2016-07-09 15:04:18 by Thomas Klausner | Files touched by this commit (599)
Log message:
Remove python33: adapt all packages that refer to it.