Your message dated Sat, 15 Sep 2012 18:28:31 +0200
with message-id 
<cab4xwxzyme7y+u-earqv5gqwmwayifz2rgsgvjdbvenf2wl...@mail.gmail.com>
and subject line Re: [Python-apps-team] Bug#687586: pylint error: 
AttributeError: 'Starred' object has no attribute 'ass_type'
has caused the Debian Bug report #687586,
regarding pylint error: AttributeError: 'Starred' object has no attribute 
'ass_type'
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.)


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


when appraising code
x, *y, z = (1,2,3,4,5,6,7,8,9)
pylint errors

full trace back:
"""
No config file found, using default configuration
************* Module 666
C:  1,0: Invalid name "666" (should match
(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$)
C:  1,0: Missing docstring
C:  1,0: Comma not followed by a space
x, *y, z = (1,2,3,4,5,6,7,8,9)
             ^^
C:  1,0: Invalid name "x" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$)
Traceback (most recent call last):
  File "/opt/bin/pylint", line 4, in <module>
    lint.Run(sys.argv[1:])
  File "/opt/lib/python3.2/site-packages/pylint/lint.py", line 902, in
__init__
    linter.check(args)
  File "/opt/lib/python3.2/site-packages/pylint/lint.py", line 514, in check
    self.check_astng_module(astng, walker, rawcheckers)
  File "/opt/lib/python3.2/site-packages/pylint/lint.py", line 587, in
check_astng_module
    walker.walk(astng)
  File "/opt/lib/python3.2/site-packages/pylint/utils.py", line 525, in walk
    self.walk(child)
  File "/opt/lib/python3.2/site-packages/pylint/utils.py", line 525, in walk
    self.walk(child)
  File "/opt/lib/python3.2/site-packages/pylint/utils.py", line 525, in walk
    self.walk(child)
  File "/opt/lib/python3.2/site-packages/pylint/utils.py", line 525, in walk
    self.walk(child)
  File "/opt/lib/python3.2/site-packages/pylint/utils.py", line 522, in walk
    cb(astng)
  File "/opt/lib/python3.2/site-packages/pylint/checkers/variables.py",
line 376, in visit_assname
    if isinstance(node.ass_type(), astng.AugAssign):
  File
"/opt/lib/python3.2/site-packages/logilab_astng-0.24.0-py3.2.egg/logilab/astng/mixins.py",
line 92, in ass_type
    return self.parent.ass_type()
AttributeError: 'Starred' object has no attribute 'ass_type'
"""

pyl3 --version
No config file found, using default configuration
pylint 0.25.2,
astng 0.24.0, common 0.58.2
Python 3.2.3 (default, Jun 28 2012, 13:26:58)
[GCC 4.5.1 20100924 (Red Hat 4.5.1-4)]

running under python3.2

Thanks

--- End Message ---
--- Begin Message ---
On Fri, Sep 14, 2012 at 2:16 AM, Alastair Thompson <[email protected]> wrote:
> when appraising code
> x, *y, z = (1,2,3,4,5,6,7,8,9)
> pylint errors
>
> full trace back:
> """
> No config file found, using default configuration
> ************* Module 666
> C:  1,0: Invalid name "666" (should match
> (([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$)
> C:  1,0: Missing docstring
> C:  1,0: Comma not followed by a space
> x, *y, z = (1,2,3,4,5,6,7,8,9)
>              ^^
> C:  1,0: Invalid name "x" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$)
> Traceback (most recent call last):
>   File "/opt/bin/pylint", line 4, in <module>
>     lint.Run(sys.argv[1:])

you've installed pylint from source and not from the debian package
(which doesn't support py3k yet) so please report this bug upstream,
since in debian this is not repeatable:

$ cat p.py
x, *y, z = (1,2,3,4,5,6,7,8,9)
$ pylint p.py
No config file found, using default configuration
************* Module p
E:  1,0: invalid syntax

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

--- End Message ---

Reply via email to