I'm pleased to announce the release of the Logilab's ASTNG package. This package has been extracted from the logilab-common package, which will be kept for some time for backward compatibility but will no longer be maintained (this explains that this package is starting with the 0.13 version number, since the fork occurs with the version released in logilab-common 0.12). See below for a description of what's inside...
What's new ? ------------ * .locals and .globals on scoped node handle now a list of references to each assigment statements instead of a single reference to the first assigment statement.
* fix bug with manager.astng_from_module_name when a context file is given (notably fix ZODB 3.4 crash with pylint/pyreverse) * fix Compare.as_string method * fix bug with lambda object missing the "type" attribute
* some minor refactoring
What is astng ? --------------- 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 essentialy governed by pylint's needs.
It extends class defined in the compiler.ast module with some additional methods and attributes. Instance attributes are added by a builder object, which can either generate extended ast (let's call them astng ;) by visiting an existant ast tree or by inspecting living object. Methods are added by monkey patching ast classes.
Home page --------- http://www.logilab.org/projects/astng
Download -------- ftp://ftp.logilab.org/pub/astng
Mailing list ------------ mailto://email@example.com