[Python-apps-team] Bug#563000: pylint: wrongly tries to open emacs locks
Yann Dirson
ydirson at altern.org
Tue Dec 29 22:06:30 UTC 2009
Package: pylint
Version: 0.18.1-1
Severity: normal
When a file is modified but not saved in emacs, some sort of
dangling-symlink lockfile is created:
.#HexBoard.py -> username at hostname.domain.tld.9285:1262073654
This confuses pylint:
************* Module Omaha.Boards..#HexBoard
F0002: 1: <class 'logilab.astng._exceptions.ASTNGBuildingException'>: Unable to load module Omaha.Boards..#HexBoard (No module named #HexBoard)
I suppose it would be enough to just ignore dotfiles, I guess they
would make invalid python module names anyway. Similarly, the #
character is most probaby forbidden here as well - all in all, pylint
should probably ignore such files as impossible to properly use from
python, and possibly issue a warning about their presence.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'oldstable'), (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.28.10-smp-smp-00002-g0fee61b (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=french (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages pylint depends on:
ii python 2.5.4-4 An interactive high-level object-o
ii python-logilab-astng 0.19.1-1 extend Python's abstract syntax tr
ii python-logilab-common 0.45.1-1 useful miscellaneous modules used
ii python-support 1.0.6 automated rebuilding support for P
Versions of packages pylint recommends:
ii python-tk 2.5.2-1.1 Tkinter - Writing Tk applications
pylint suggests no packages.
-- no debconf information
More information about the Python-apps-team
mailing list