python-astroid

Edit Package python-astroid

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.

It provides a compatible representation which comes from the _ast module. It rebuilds the tree generated by the builtin _ast module by recursively walking down the AST and building an extended ast. The new node classes have additional methods and attributes for different usages. They include some support for static inference and local name scopes. Furthermore, astroid builds partial trees by inspecting living objects.

Refresh
Refresh
Source Files
Filename Size Changed
astroid-3.0.2-gh.tar.gz 0000461786 451 KB
python-astroid.changes 0000069923 68.3 KB
python-astroid.spec 0000002560 2.5 KB
Revision 49 (latest revision is 50)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1135253 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 49)
- update to 3.0.2:
  * Avoid duplicate inference results for some uses of
    ``typing.X`` constructs like ``Tuple[Optional[int], ...]``.
    This was causing pylint to occasionally omit messages like
    ``deprecated-typing-alias``.

- Correct Requires for typing_extensions.
- Update to 2.12.13:
- Update to 2.12.12:
    set to None.
  Closes #1755
    FunctionDef parent but are now correctly parented to their
- Drop part_rm_dep_imp.patch fixed upstream
  * Properly construct the arguments of infered property descriptors
  * Properly analyze CFFI compiled extensions.
    * brain plugins can now register hooks to handle failed imports,
    * Fix names grabed using wildcard import in "absolute import mode"
      (ie with absolute_import activated from the __future__ or with
    * fix #20760: crash on pyreverse : AttributeError: 'Subscript'
    by Dave Borowitz
  * new InstanceMethod node introduced to wrap bound method (eg
  * compatibility with python2.3 and logilab-common 0.21
  * .locals and .globals on scoped node handle now a list of
Comments 0
openSUSE Build Service is sponsored by