Your message dated Sat, 03 Apr 2010 17:11:50 +0000
with message-id <[email protected]>
and subject line Bug#568968: fixed in logilab-astng 0.20.0-1
has caused the Debian Bug report #568968,
regarding Trivial program makes pylint hang (regression since 0.18.1-1)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
568968: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568968
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pylint
Version: 0.19.0-1
Severity: normal

If I run pylint on the following program:

from matplotlib.figure import Figure
Figure().add_subplot(111).xaxis

...pylint never exits. It prints the following:

$ pylint generate.py
No config file found, using default configuration
************* Module generate
C:  1: Missing docstring

...and hangs, using 100% of CPU. 


For the record, I'm using these versions of matplotlib:
ii  python-matplotlib                     0.99.1.2-2                 Python 
based plotting system in a style similar to Matlab
ii  python-matplotlib-data                0.99.1.2-2                 Python 
based plotting system (data package)
ii  python-matplotlib-doc                 0.99.1.2-2                 Python 
based plotting system (documentation package)

If I interrupt pylab, it prints a very long stack trace which ends in:

  File "/usr/lib/pymodules/python2.5/logilab/astng/infutils.py", line 231, in 
wrapper
    for node in func(*args, **kwargs):
  File "/usr/lib/pymodules/python2.5/logilab/astng/inference.py", line 259, in 
infer_getattr
    for obj in owner.igetattr(self.attrname, context):
  File "/usr/lib/pymodules/python2.5/logilab/astng/infutils.py", line 168, in 
_infer_stmts
    for infered in stmt.infer(context):
  File "/usr/lib/pymodules/python2.5/logilab/astng/infutils.py", line 203, in 
wrapped
    for res in _func(node, context, **kwargs):
  File "/usr/lib/pymodules/python2.5/logilab/astng/infutils.py", line 168, in 
_infer_stmts
    for infered in stmt.infer(context):
  File "/usr/lib/pymodules/python2.5/logilab/astng/infutils.py", line 203, in 
wrapped
    for res in _func(node, context, **kwargs):
  File "/usr/lib/pymodules/python2.5/logilab/astng/infutils.py", line 231, in 
wrapper
    for node in func(*args, **kwargs):
  File "/usr/lib/pymodules/python2.5/logilab/astng/inference.py", line 207, in 
infer_callfunc
    for infered in callee.infer_call_result(self, callcontext):
  File "/usr/lib/pymodules/python2.5/logilab/astng/scoped_nodes.py", line 426, 
in infer_call_result
    for infered in returnnode.value.infer(context):
  File "/usr/lib/pymodules/python2.5/logilab/astng/infutils.py", line 203, in 
wrapped
    for res in _func(node, context, **kwargs):
  File "/usr/lib/pymodules/python2.5/logilab/astng/inference.py", line 185, in 
infer_name
    frame, stmts = self.lookup(self.name)
  File "/usr/lib/pymodules/python2.5/logilab/astng/lookup.py", line 53, in 
lookup
    return self.scope().scope_lookup(self, name)
  File "/usr/lib/pymodules/python2.5/logilab/astng/scoped_nodes.py", line 323, 
in scope_lookup
    return frame._scope_lookup(node, name, offset)
  File "/usr/lib/pymodules/python2.5/logilab/astng/lookup.py", line 233, in 
_scope_lookup
    stmts = node._filter_stmts(self.locals[name], self, offset)
  File "/usr/lib/pymodules/python2.5/logilab/astng/lookup.py", line 172, in 
_filter_stmts
    if not are_exclusive(self, node):
  File "/usr/lib/pymodules/python2.5/logilab/astng/infutils.py", line 106, in 
are_exclusive
    while node:
KeyboardInterrupt



If I try the same program on a machine running 0.18.1-1, it works without 
incident, printing the following:

$ pylint a.py 
/usr/lib/pymodules/python2.5/pylint/lint.py:314: DeprecationWarning: use 
lgc.optik_ext.check_csv
  value = check_csv(None, opt_name, value)
No config file found, using default configuration
************* Module a
C:  1: Missing docstring


Report
======
2 statements analysed.

Raw metrics
-----------

+----------+-------+-------+---------+-----------+
|type      |number |%      |previous |difference |
+==========+=======+=======+=========+===========+
|code      |2      |100.00 |2        |=          |
+----------+-------+-------+---------+-----------+
|docstring |0      |0.00   |0        |=          |
+----------+-------+-------+---------+-----------+
|comment   |0      |0.00   |0        |=          |
+----------+-------+-------+---------+-----------+
|empty     |0      |0.00   |0        |=          |
+----------+-------+-------+---------+-----------+



Duplication
-----------

+-------------------------+------+---------+-----------+
|                         |now   |previous |difference |
+=========================+======+=========+===========+
|nb duplicated lines      |0     |0        |=          |
+-------------------------+------+---------+-----------+
|percent duplicated lines |0.000 |0.000    |=          |
+-------------------------+------+---------+-----------+



External dependencies
---------------------
::

    matplotlib 
      \-figure 
        \-Figure (a)



Statistics by type
------------------

+---------+-------+-----------+-----------+------------+---------+
|type     |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module   |1      |1          |=          |0.00        |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|class    |0      |0          |=          |0.00        |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|method   |0      |0          |=          |0.00        |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|function |0      |0          |=          |0.00        |0.00     |
+---------+-------+-----------+-----------+------------+---------+



Messages by category
--------------------

+-----------+-------+---------+-----------+
|type       |number |previous |difference |
+===========+=======+=========+===========+
|convention |1      |1        |=          |
+-----------+-------+---------+-----------+
|refactor   |0      |0        |=          |
+-----------+-------+---------+-----------+
|warning    |0      |0        |=          |
+-----------+-------+---------+-----------+
|error      |0      |0        |=          |
+-----------+-------+---------+-----------+



Messages
--------

+-----------+-----------+
|message id |occurences |
+===========+===========+
|C0111      |1          |
+-----------+-----------+



Global evaluation
-----------------
Your code has been rated at 5.00/10 (previous run: 5.00/10)

For the record, that machine is using a slightly different version of 
matplotlib:
ii  python-matplotlib                0.99.1.2-1                 Python based 
plotting system in a style simi
ii  python-matplotlib-data           0.99.1.2-1                 Python based 
plotting system (data package)
And the following pylint deps:
ii  python                           2.5.4-2                    An interactive 
high-level object-oriented la
ii  python-logilab-astng             0.19.1-1                   extend Python's 
abstract syntax tree (AST)
ii  python-logilab-common            0.45.1-1                   useful 
miscellaneous modules used by Logilab
ii  python-support                   1.0.4                      automated 
rebuilding support for Python modu



-- System Information:
Debian Release: squeeze/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500, 
'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pylint depends on:
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-logilab-astng          0.19.3-1   extend Python's abstract syntax tr
ii  python-logilab-common         0.45.2-1   useful miscellaneous modules used 
ii  python-support                1.0.6      automated rebuilding support for P

Versions of packages pylint recommends:
ii  python-tk                     2.6.4-1    Tkinter - Writing Tk applications 

pylint suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: logilab-astng
Source-Version: 0.20.0-1

We believe that the bug you reported is fixed in the latest version of
logilab-astng, which is due to be installed in the Debian FTP archive:

logilab-astng_0.20.0-1.diff.gz
  to main/l/logilab-astng/logilab-astng_0.20.0-1.diff.gz
logilab-astng_0.20.0-1.dsc
  to main/l/logilab-astng/logilab-astng_0.20.0-1.dsc
logilab-astng_0.20.0.orig.tar.gz
  to main/l/logilab-astng/logilab-astng_0.20.0.orig.tar.gz
python-logilab-astng_0.20.0-1_all.deb
  to main/l/logilab-astng/python-logilab-astng_0.20.0-1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <[email protected]> (supplier of updated logilab-astng package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 27 Mar 2010 23:57:01 +0100
Source: logilab-astng
Binary: python-logilab-astng
Architecture: source all
Version: 0.20.0-1
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: Sandro Tosi <[email protected]>
Description: 
 python-logilab-astng - rebuild a new abstract syntax tree (AST) from Python's 
ast
Closes: 568968 573229
Changes: 
 logilab-astng (0.20.0-1) unstable; urgency=low
 .
   * New upstream release
     - thanks to Joseph Barillari for the reports; Closes: #573229, #568968
   * debian/copyright
     - extended upstream and packaging copyright years
     - added Sylvain's email address
   * debian/control
     - bump Depends on python-logilab-common to '>= 0.49.0'
     - updated short and long description as per new upstream release
     - bump Standards-Version to 3.8.4 (no changes needed)
     - dropped XB-Python-Version
Checksums-Sha1: 
 a68d877567f9195b83b72d65c39731b6510bd38c 1477 logilab-astng_0.20.0-1.dsc
 7a7449d0ec2e48ece29a48f457e5243215c758f7 92492 logilab-astng_0.20.0.orig.tar.gz
 13745d08106537955d6c804d863343a3d174cc4a 4845 logilab-astng_0.20.0-1.diff.gz
 b9637b283d21adc8b143015dd385dbacf8597014 90864 
python-logilab-astng_0.20.0-1_all.deb
Checksums-Sha256: 
 f09f17d59da87ca0fac5eb1e99ab1daba79dcf6860bf7fe8c7da195f01880d07 1477 
logilab-astng_0.20.0-1.dsc
 2c3bb0748d2405eb936d8f60fdd1e9fb138d995059f35ef0a95f9ec68ff106d3 92492 
logilab-astng_0.20.0.orig.tar.gz
 36d5883ccb1f77601ec080b851de6ececc8cbfdf6c18ede1f22c5d5453fe5982 4845 
logilab-astng_0.20.0-1.diff.gz
 0c1ceee8957c4785ea99b6d7702f8a193bcd3aab1db4def11e7a5079152849ee 90864 
python-logilab-astng_0.20.0-1_all.deb
Files: 
 6e99fcd716bdc5e7a3876ec7d36fd4cd 1477 python optional 
logilab-astng_0.20.0-1.dsc
 6c29c2208ea5a74643baa502743444c5 92492 python optional 
logilab-astng_0.20.0.orig.tar.gz
 7b6b23b917b061c27cc1b2b1449c8659 4845 python optional 
logilab-astng_0.20.0-1.diff.gz
 bbfda6f6bcbee5f7bafde4428056fd89 90864 python optional 
python-logilab-astng_0.20.0-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkuukEMACgkQAukwV0RN2VCMNwCeNx5MPPOM+d8q+5YhbVbE6mni
b9MAnRnbttKlKrrSN8mE6TOk74YPxoqZ
=xFnm
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to