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-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's avatar Dirk Mueller (dirkmueller) accepted request 1039708 from Yogalakshmi Arunachalam's avatar 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
openSUSE Build Service is sponsored by