diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | __init__.py | 4 | ||||
-rw-r--r-- | __pkginfo__.py | 29 | ||||
-rw-r--r-- | _exceptions.py | 4 | ||||
-rw-r--r-- | _nodes_ast.py | 4 | ||||
-rw-r--r-- | _nodes_compiler.py | 4 | ||||
-rw-r--r-- | builder.py | 4 | ||||
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/control | 17 | ||||
-rw-r--r-- | debian/copyright | 4 | ||||
-rw-r--r-- | inspector.py | 4 | ||||
-rw-r--r-- | manager.py | 4 | ||||
-rw-r--r-- | nodes_as_string.py | 4 | ||||
-rw-r--r-- | patchcomptransformer.py | 4 | ||||
-rw-r--r-- | protocols.py | 4 | ||||
-rw-r--r-- | raw_building.py | 4 | ||||
-rw-r--r-- | rebuilder.py | 4 | ||||
-rw-r--r-- | setup.py | 2 | ||||
-rw-r--r-- | utils.py | 4 |
19 files changed, 62 insertions, 50 deletions
@@ -3,7 +3,7 @@ Change log for the astng package -- -2010-03-18 -- 0.20.0 +2010-03-22 -- 0.20.0 * fix #19882: pylint hangs * fix #20759: crash on pyreverse UNARY_OP_METHOD KeyError '~' diff --git a/__init__.py b/__init__.py index d62be122..3432ab2b 100644 --- a/__init__.py +++ b/__init__.py @@ -36,9 +36,9 @@ Main modules are: :author: Sylvain Thenault -:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE) +:copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE) :contact: http://www.logilab.fr/ -- mailto:python-projects@logilab.org -:copyright: 2003-2009 Sylvain Thenault +:copyright: 2003-2010 Sylvain Thenault :contact: mailto:thenault@gmail.com """ __doctype__ = "restructuredtext en" diff --git a/__pkginfo__.py b/__pkginfo__.py index fbe4ce9d..744b71a3 100644 --- a/__pkginfo__.py +++ b/__pkginfo__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2009 LOGILAB S.A. (Paris, FRANCE). +# Copyright (c) 2003-2010 LOGILAB S.A. (Paris, FRANCE). # http://www.logilab.fr/ -- mailto:contact@logilab.fr # # This program is free software; you can redistribute it and/or modify it under @@ -15,6 +15,12 @@ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. """ logilab.astng packaging information + +:author: Sylvain Thenault +:copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE) +:contact: http://www.logilab.fr/ -- mailto:python-projects@logilab.org +:copyright: 2003-2010 Sylvain Thenault +:contact: mailto:thenault@gmail.com """ distname = 'logilab-astng' @@ -22,14 +28,15 @@ distname = 'logilab-astng' modname = 'astng' subpackage_of = 'logilab' -numversion = (0, 19, 3) +numversion = (0, 20, 0) version = '.'.join([str(num) for num in numversion]) -install_requires = ['logilab-common >= 0.39.0'] +install_requires = ['logilab-common >= 0.49.0'] pyversions = ["2.3", "2.4", "2.5", '2.6'] license = 'GPL' +copyright = 'LOGILAB S.A.' author = 'Logilab' author_email = 'python-projects@lists.logilab.org' @@ -37,20 +44,18 @@ mailinglist = "mailto://%s" % author_email web = "http://www.logilab.org/project/%s" % distname ftp = "ftp://ftp.logilab.org/pub/%s" % modname -short_desc = "extend python's abstract syntax tree" +short_desc = "rebuild a new abstract syntax tree from Python's ast" long_desc = """The aim of this module is to provide a common base \ -representation of -python source code for projects such as pychecker, pyreverse, +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 extends class defined in the compiler.ast [1] module (python <= 2.4) or in -the builtin _ast module (python >= 2.5) 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 existent ast -tree or by inspecting living object. Methods are added by monkey patching ast -classes.""" +It rebuilds the tree generated by the compiler.ast [1] module (python <= 2.4) +or by the builtin _ast module (python >= 2.5) by recursively walking down the +AST and building an extended ast (let's call it astng ;). The new node classes +have additional methods and attributes for different usages. +Furthermore, astng builds partial trees by inspecting living objects.""" from os.path import join diff --git a/_exceptions.py b/_exceptions.py index 1c044cde..27cd16df 100644 --- a/_exceptions.py +++ b/_exceptions.py @@ -13,9 +13,9 @@ """this module contains exceptions used in the astng library :author: Sylvain Thenault -:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE) +:copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE) :contact: http://www.logilab.fr/ -- mailto:python-projects@logilab.org -:copyright: 2003-2009 Sylvain Thenault +:copyright: 2003-2010 Sylvain Thenault :contact: mailto:thenault@gmail.com """ diff --git a/_nodes_ast.py b/_nodes_ast.py index 92f94f6e..85d6e259 100644 --- a/_nodes_ast.py +++ b/_nodes_ast.py @@ -13,9 +13,9 @@ """python 2.5 builtin _ast compatibility module :author: Sylvain Thenault -:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE) +:copyright: 2008-2010 LOGILAB S.A. (Paris, FRANCE) :contact: http://www.logilab.fr/ -- mailto:python-projects@logilab.org -:copyright: 2008-2009 Sylvain Thenault +:copyright: 2008-2010 Sylvain Thenault :contact: mailto:thenault@gmail.com """ diff --git a/_nodes_compiler.py b/_nodes_compiler.py index 127d445c..2b8ffb10 100644 --- a/_nodes_compiler.py +++ b/_nodes_compiler.py @@ -16,9 +16,9 @@ [1] http://docs.python.org/lib/module-compiler.ast.html :author: Sylvain Thenault -:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE) +:copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE) :contact: http://www.logilab.fr/ -- mailto:python-projects@logilab.org -:copyright: 2003-2009 Sylvain Thenault +:copyright: 2003-2010 Sylvain Thenault :contact: mailto:thenault@gmail.com """ @@ -19,9 +19,9 @@ at the same time. :author: Sylvain Thenault -:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE) +:copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE) :contact: http://www.logilab.fr/ -- mailto:python-projects@logilab.org -:copyright: 2003-2009 Sylvain Thenault +:copyright: 2003-2010 Sylvain Thenault :contact: mailto:thenault@gmail.com """ diff --git a/debian/changelog b/debian/changelog index a3762357..e81eaa2c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +logilab-astng (0.20.0-1) unstable; urgency=low + + * new upstream release + + -- Emile Anclin <emile.anclin@logilab.fr> Mon, 22 Mar 2010 18:24:36 +0100 + logilab-astng (0.19.3-1) unstable; urgency=low * new upstream release diff --git a/debian/control b/debian/control index a49a0e27..9a9fc347 100644 --- a/debian/control +++ b/debian/control @@ -13,15 +13,16 @@ Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/logilab-astng Package: python-logilab-astng Architecture: all -Depends: ${python:Depends}, ${misc:Depends}, python-logilab-common (>= 0.39.0-1) +Depends: ${python:Depends}, ${misc:Depends}, python-logilab-common (>= 0.49.0-1) XB-Python-Version: ${python:Versions} -Description: extend Python's abstract syntax tree (AST) +Description: rebuild a new abstract syntax tree from Python's ast The aim of this module is to provide a common base representation of Python source code for projects such as pyreverse or pylint. . - It extends classes defined in the compiler.ast module (Python <= 2.4) - or in the builtin _ast module (Python >= 2.5) 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. + It rebuilds the tree generated by the compiler.ast [1] module (python <= 2.4) + or by the builtin _ast module (python >= 2.5) by recursively walking down the + AST and building an extended ast (let's call it astng ;). The new node classes + have additional methods and attributes for different usages. + Furthermore, astng builds partial trees by inspecting living objects. + + diff --git a/debian/copyright b/debian/copyright index 7e265902..bf8940bc 100644 --- a/debian/copyright +++ b/debian/copyright @@ -8,9 +8,9 @@ Upstream Author: Copyright: - Copyright (c) 2003-2009 LOGILAB S.A. (Paris, FRANCE). + Copyright (c) 2003-2010 LOGILAB S.A. (Paris, FRANCE). http://www.logilab.fr/ -- mailto:contact@logilab.fr - Copyright (C) 2003-2009 Sylvain Thenault + Copyright (C) 2003-2010 Sylvain Thenault License: diff --git a/inspector.py b/inspector.py index 45a18b65..1d2179e2 100644 --- a/inspector.py +++ b/inspector.py @@ -18,9 +18,9 @@ This module has been imported from pyreverse :version: $Revision: 1.6 $ :author: Sylvain Thenault -:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE) +:copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE) :contact: http://www.logilab.fr/ -- mailto:python-projects@logilab.org -:copyright: 2003-2009 Sylvain Thenault +:copyright: 2003-2010 Sylvain Thenault :contact: mailto:thenault@gmail.com """ @@ -15,9 +15,9 @@ possible by providing a class responsible to get astng representation from various source and using a cache of built modules) :author: Sylvain Thenault -:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE) +:copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE) :contact: http://www.logilab.fr/ -- mailto:python-projects@logilab.org -:copyright: 2003-2009 Sylvain Thenault +:copyright: 2003-2010 Sylvain Thenault :contact: mailto:thenault@gmail.com """ diff --git a/nodes_as_string.py b/nodes_as_string.py index 3237f63b..3d13e32b 100644 --- a/nodes_as_string.py +++ b/nodes_as_string.py @@ -13,9 +13,9 @@ """this module contains exceptions used in the astng library :author: Sylvain Thenault -:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE) +:copyright: 2008-2010 LOGILAB S.A. (Paris, FRANCE) :contact: http://www.logilab.fr/ -- mailto:python-projects@logilab.org -:copyright: 2008-2009 Sylvain Thenault +:copyright: 2008-2010 Sylvain Thenault :contact: mailto:thenault@gmail.com """ diff --git a/patchcomptransformer.py b/patchcomptransformer.py index 8744a781..ede8289c 100644 --- a/patchcomptransformer.py +++ b/patchcomptransformer.py @@ -13,9 +13,9 @@ """Monkey patch compiler.transformer to fix line numbering bugs :author: Sylvain Thenault -:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE) +:copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE) :contact: http://www.logilab.fr/ -- mailto:python-projects@logilab.org -:copyright: 2003-2009 Sylvain Thenault +:copyright: 2003-2010 Sylvain Thenault :contact: mailto:thenault@gmail.com """ # TODO : move this module to _nodes_compiler diff --git a/protocols.py b/protocols.py index 9f21f1a1..7d61a3b6 100644 --- a/protocols.py +++ b/protocols.py @@ -14,9 +14,9 @@ where it makes sense. :author: Sylvain Thenault -:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE) +:copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE) :contact: http://www.logilab.fr/ -- mailto:python-projects@logilab.org -:copyright: 2003-2009 Sylvain Thenault +:copyright: 2003-2010 Sylvain Thenault :contact: mailto:thenault@gmail.com """ diff --git a/raw_building.py b/raw_building.py index 6b36bc92..00047310 100644 --- a/raw_building.py +++ b/raw_building.py @@ -14,9 +14,9 @@ (build_* functions) or from living object (object_build_* functions) :author: Sylvain Thenault -:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE) +:copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE) :contact: http://www.logilab.fr/ -- mailto:python-projects@logilab.org -:copyright: 2003-2009 Sylvain Thenault +:copyright: 2003-2010 Sylvain Thenault :contact: mailto:thenault@gmail.com """ diff --git a/rebuilder.py b/rebuilder.py index 4a44f482..71276f2d 100644 --- a/rebuilder.py +++ b/rebuilder.py @@ -14,9 +14,9 @@ order to get a single ASTNG representation :author: Sylvain Thenault -:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE) +:copyright: 2008-2010 LOGILAB S.A. (Paris, FRANCE) :contact: http://www.logilab.fr/ -- mailto:python-projects@logilab.org -:copyright: 2008-2009 Sylvain Thenault +:copyright: 2008-2010 Sylvain Thenault :contact: mailto:thenault@gmail.com """ @@ -2,7 +2,7 @@ # pylint: disable-msg=W0404,W0622,W0704,W0613,W0152 """Generic Setup script, takes package info from __pkginfo__.py file. -:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved. +:copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr :license: General Public License version 2 - http://www.gnu.org/licenses """ @@ -14,9 +14,9 @@ extract information from it :author: Sylvain Thenault -:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE) +:copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE) :contact: http://www.logilab.fr/ -- mailto:python-projects@logilab.org -:copyright: 2003-2009 Sylvain Thenault +:copyright: 2003-2010 Sylvain Thenault :contact: mailto:thenault@gmail.com """ |