Package: pylint
Version: 0.21.3-1
Severity: minor

Every time I run pylint, it spews a number of deprecation warnings:

$ pylint /dev/null > /dev/null
No config file found, using default configuration
/usr/lib/pymodules/python2.6/pylint/checkers/similar.py:194: 
DeprecationWarning: enumerate exists in builtins since py2.3
  for line_no, line in enumerate(self._stripped_lines):
/usr/lib/pymodules/python2.6/pylint/checkers/similar.py:279: 
DeprecationWarning: sum exists in builtins since py2.3
  total = sum([len(lineset) for lineset in self.linesets])
/usr/lib/pymodules/python2.6/pylint/checkers/similar.py:123: 
DeprecationWarning: enumerate exists in builtins since py2.3
  for idx, lineset in enumerate(self.linesets[:-1]):


(And there are even more of them if you process a less trivial file.)


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental'), (500, 'testing')
Architecture: i386 (x86_64)

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

Versions of packages pylint depends on:
ii  python                        2.6.6-5    interactive high-level object-orie
ii  python-logilab-astng          0.20.3-1   rebuild a new abstract syntax tree
ii python-logilab-common 0.52.1-1 useful miscellaneous modules used ii python-support 1.0.12 automated rebuilding support for P

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to