[ANN] astng 0.14

Discussion in 'Python' started by Sylvain =?iso-8859-1?Q?Th=E9nault?=, Jan 10, 2006.

  1. Hi !

    I'm pleased to announce the new 0.14 version of astng. This release mainly
    provides some major internal and api changes to have a richer model and a
    start for static inference on ast nodes.

    What's new ?
    * some major inference improvments and refactoring ! The drawback is
    the introduction of some non backward compatible change in the API
    but it's imho much cleaner and powerful now :)
    * new boolean property .newstyle on Class nodes (implements #10073)
    * new .import_module method on Module node to help in .resolve
    * .instance_attrs has list of assignments to instance attribute
    dictionary as value instead of one
    * added missing GenExprIf and GenExprInner nodes, and implements
    as_string for each generator expression related nodes
    * specifically catch KeyboardInterrupt to reraise it in some places
    * fix so that module names are always absolute
    * fix .resolve on package where a subpackage is imported in the
    __init__ file
    * fix a bug regarding construction of Function node from living object
    with realier version of python 2.4
    * fix a NameError on Import and From self_resolve method
    * fix a bug occuring when building an astng from a living object with
    a property
    * lint fixes

    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 [1] 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


    Mailing list

    LOGILAB provides services in the fields of XML techniques and advanced
    computing (implementation of intelligent agents, knowledge management,
    natural language processing, statistical analysis, data mining, etc.),
    and also trainings on Python, XML, UML, Object Oriented design, design
    patterns use and other cutting edge topics. To know more about
    Logilab, visit http://www.logilab.com/.

    Logilab is also a strong supporter of the Free Software movement, and an
    active member of the Python and Debian communities. Logilab's open
    source projects can be found on http://www.logilab.org/.

    Enjoy and happy new year !
    Sylvain Thénault LOGILAB, Paris (France).

    http://www.logilab.com http://www.logilab.fr http://www.logilab.org
    Sylvain =?iso-8859-1?Q?Th=E9nault?=, Jan 10, 2006
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sylvain =?iso-8859-1?Q?Th=E9nault?=

    [ANN] ASTNG 0.13

    Sylvain =?iso-8859-1?Q?Th=E9nault?=, Oct 22, 2005, in forum: Python
    Sylvain =?iso-8859-1?Q?Th=E9nault?=
    Oct 22, 2005
  2. Sylvain =?iso-8859-1?Q?Th=E9nault?=

    [ANN] ASTNG 0.13.1

    Sylvain =?iso-8859-1?Q?Th=E9nault?=, Nov 7, 2005, in forum: Python
    Sylvain =?iso-8859-1?Q?Th=E9nault?=
    Nov 7, 2005
  3. Sylvain =?iso-8859-1?Q?Th=E9nault?=

    [ANN] PyLint 0.11 / astng 0.16

    Sylvain =?iso-8859-1?Q?Th=E9nault?=, Apr 20, 2006, in forum: Python
  4. Sylvain =?iso-8859-1?Q?Th=E9nault?=

    [ANN] logilab-astng 0.16.1

    Sylvain =?iso-8859-1?Q?Th=E9nault?=, Sep 26, 2006, in forum: Python
    Sylvain =?iso-8859-1?Q?Th=E9nault?=
    Sep 26, 2006
  5. Sylvain =?iso-8859-1?Q?Th=E9nault?=

    [ANN] pylint 0.12.2 / astng 0.16.3

    Sylvain =?iso-8859-1?Q?Th=E9nault?=, Nov 23, 2006, in forum: Python
    Sylvain =?iso-8859-1?Q?Th=E9nault?=
    Nov 23, 2006

Share This Page