] > Another apparent bug in PyLint. (Logilab.org)

Email Another apparent bug in PyLint.

from
Jeremy Fincher <fincher.8 at osu dot edu>
to
Sylvain Thenault <syt at logilab dot fr>
subject
Another apparent bug in PyLint.
date
2003/10/04 10:13
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry to send you so many bug emails, but that's how software gets better :)  
At least, that's how PyLint will get better...my software, on the other hand, 
gets better simply by having PyLint run on it.  Thanks for that :)

I noticed this:

E:155:RingBuffer.__setstate__: Undefined variable (maxSize)
E:156:RingBuffer.__setstate__: Undefined variable (full)
E:157:RingBuffer.__setstate__: Undefined variable (i)
E:158:RingBuffer.__setstate__: Undefined variable (L)

When the relevant lines in the source code are:

    def __setstate__(self, (maxSize, full, i, L)):
        self.maxSize = maxSize
        self.full = full
        self.i = i
        self.L = L

So apparently PyLint doesn't like arguments in such a form.

Anyway, thanks again for a great piece of software, it's really helping me 
clean up my project :)

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

iD8DBQE/ftWVqkDiu+Bs+JIRAkt1AJ9pR0WQgzrSupdhbV96JiLNCfq4/ACePLBh
c2RTmmpZL9rO/nQhaGzM/Ac=
=d3F7
-----END PGP SIGNATURE-----


has reply