[ANN] ASTNG 0.13

  • Thread starter Sylvain =?iso-8859-1?Q?Th=E9nault?=
  • Start date
S

Sylvain =?iso-8859-1?Q?Th=E9nault?=

I'm please 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top