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.
- Sources inherited from project openSUSE:Leap:42.3
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:42.3:Update/python-astroid && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_service | 0000000587 587 Bytes | |
astroid-1.4.9.git.1489768950.31f21cd.tar.gz | 0000255156 249 KB | |
pytest.ini | 0000000083 83 Bytes | |
python-astroid.changes | 0000034834 34 KB | |
python-astroid.spec | 0000003125 3.05 KB |
Latest Revision
Ludwig Nussel (lnussel_factory)
accepted
request 501724
from
Dirk Mueller (dirkmueller)
(revision 6)
- update for singlespec - update to 1.4.9 * classes can now know their definition-time arguments * getitem() now accepts node objects * explicit namespace package support * see more details in ChangeLog - update to 2.0-pre-release git version for python 3.6 support (boo#1026174) - enable test suite for all pythons - Added missing dependencies on python-lazy_object_proxy and python-wrapt - Update to version 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. - Update to version 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. This should fix issues such as https://github.com/PyCQA/pylint/issues/725. - Update to version 1.4.2 * The slots() method conflates all the slots from the ancestors into a list of current and parent slots. We're doing this because this is the right semantics of slots, they get inherited, as long as each parent defines a __slots__ entry. * Revert to using printf-style formatting in as_string, in order
Comments 0