Package: pylint
Version: 1.4.1-1
If you import the “string” module, Pylint reports that you use a
deprecated module:
$ echo 'import string; string.Formatter()' > test.py
$ pylint test.py
************* Module test
W: 1, 0: Uses of a deprecated module 'string' (deprecated-module)
But this module, as a whole, is NOT deprecated; only some of its
functions are. Quoting the documentation: “The string module contains a
number of useful constants and classes, as well as some deprecated
legacy functions that are also available as methods on strings.”
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 3.2.0-4-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
Init: sysvinit (via /sbin/init)
Versions of packages pylint depends on:
ii python 2.7.9-1
ii python-astroid 1.3.6-1
ii python-logilab-common 0.62.0-1
ii python-six 1.9.0-3
pn python:any <none>
--
Jakub Wilk
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org