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

Kenneth Pronovici pronovic at debian.org
Fri Nov 11 15:47:42 UTC 2011


On Fri, Nov 11, 2011 at 7:57 AM, Nigel Evans
<nigelevans at postmaster.co.uk> wrote:
> 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.

Hmm.  From the limited digging I've done so far, it looks like the
practice of installing standard libraries in dist-packages is
Debian-specific.   If that's the case, I guess we should be fixing it
in a Debian-specific patch rather than as an upstream bug.  I'll see
if I can come up with something workable.

KEN





More information about the Python-apps-team mailing list