[Python-apps-team] Bug#648426: pychecker: getStandardLibraries() checks for site-packages in path, but not dist-packages

Nigel Evans nigelevans at postmaster.co.uk
Fri Nov 11 13:57:26 UTC 2011


Package: pychecker
Version: 0.8.18-7
Severity: normal
Tags: patch


When using the -q / --stdlib option, the method getStandardLibraries() in warn.py gets library
names from site-packages, but not the new location for them, which is dist-packages. This means
errors from these packages are not ignored as they should be.

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages pychecker depends on:
ii  python                  2.6.6-3+squeeze6 interactive high-level object-orie
ii  python-support          1.0.10           automated rebuilding support for P

pychecker recommends no packages.

pychecker suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dist-packages.patch
Type: text/x-diff
Size: 604 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20111111/7dfa1a85/attachment.patch>


More information about the Python-apps-team mailing list