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.
- Devel package for openSUSE:Factory
-
12
derived packages
- Links to openSUSE:Factory / python-astroid
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:python/python-astroid && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_link | 0000000124 124 Bytes | |
astroid-2.12.13-gh.tar.gz | 0000437906 428 KB | |
python-astroid.changes | 0000064487 63 KB | |
python-astroid.spec | 0000003058 2.99 KB |
Revision 78 (latest revision is 110)
Dirk Mueller (dirkmueller)
accepted
request 1039708
from
Yogalakshmi Arunachalam (yarunachalam)
(revision 78)
- Update to 2.12.13: * Prevent returning an empty list for ``ClassDef.slots()`` when the mro list contains one class & it is not ``object``. Refs PyCQA/pylint#5099 * Prevent a crash when inferring calls to ``str.format`` with inferred arguments that would be invalid. Closes #1856 * Infer the `length` argument of the ``random.sample`` function. Refs PyCQA/pylint#7706 * Catch ``ValueError`` when indexing some builtin containers and sequences during inference. Closes #1843
Comments 0