from
Kring Gerhard <gerhard.kring at siemens dot com>
to
Sylvain Thenault <syt at logilab dot fr>
subject
AW: [Python-projects] [ANN] PyLint 0.6
date
Hello Sylvain,2005/02/07 10:28
here is an update on this.
- The real reason for the problem is, that with this Version '.pyd' files are not properly supported
Modifying line 160 in manager.py to
if not (filepath.endswith('.so') or filepath.endswith('.dll') or filepath.endswith('.pyd')):
solves the problem.
Best Regards / Mit freundlichen Grüßen
Gerhard Kring
>Siemens AG
>Communications
Com CD NI DB D
>St.-Martin-Str. 76
>D-81541 München
>Room: 5531/356
>
>T.+49-89-636-76219
>Mobile +49-178-7700355
Email: Gerhard.Kring@siemens.com
-----Ursprüngliche Nachricht-----
Von: Kring Gerhard
Gesendet: Montag, 24. Januar 2005 16:52
An: 'Sylvain Thénault'
Betreff: AW: [Python-projects] [ANN] PyLint 0.6
Hello Sylvain,
thank you for providing th e Pylint 0.6 Release!
After adapting my config file I could do a complete run for our software.
Our previous problem with the inheritance has now disappeared!
Thank you!
This is a big improvement.
We have now got another problem:
- We get a very long traceback output with repetitive
File "C:\Python23\Lib\site-packages\logilab\common\astng\manager.py", line 147, in astng_from_module_name
return self.astng_from_module(load_module_from_name(modname), modname)
File "C:\Python23\Lib\site-packages\logilab\common\astng\manager.py", line 161, in astng_from_module
return self.astng_from_file(filepath, modname or module.__name__)
File "C:\Python23\Lib\site-packages\logilab\common\astng\manager.py", line 131, in astng_from_file
messages.
and then
File "C:\Python23\Lib\site-packages\logilab\common\astng\manager.py", line 144, in astng_from_module_name
filepath = file_from_modpath(modname.split('.'))
File "C:\Python23\Lib\site-packages\logilab\common\modutils.py", line 123, in file_from_modpath
return _file_from_modpath(modpath, search_path)
File "C:\Python23\Lib\site-packages\logilab\common\modutils.py", line 134, in _file_from_modpath
path = abspath(path)
File "C:\Python23\Lib\ntpath.py", line 487, in abspath
return normpath(path)
File "C:\Python23\Lib\ntpath.py", line 441, in normpath
prefix, path = splitdrive(path)
RuntimeError: maximum recursion depth exceeded
Unable to get imported names for '_winreg' line 38"
Traceback (most recent call last):
File "C:\Python23\Lib\site-packages\logilab\common\astng\builder.py", line 207, in visit_from
imported = self._manager.astng_from_module_name(node.modname)
File "C:\Python23\Lib\site-packages\logilab\common\astng\manager.py", line 150, in astng_from_module_name
raise ASTNGBuildingException(msg)
ASTNGBuildingException: Unable to load module seessowrapper_swig (No module named seessowrapper_swig)
Unable to get imported names for 'seessowrapper_swig' line 48"
Do you have any hint why we get this and how to avoid this?
We are working on a Windows XP platform.
I have attached the complete stderr output...
Best Regards / Mit freundlichen Grüßen
Gerhard Kring
>Siemens AG
>Communications
Com CD NI DB D
>St.-Martin-Str. 76
>D-81541 München
>Room: 5531/356
>
>T.+49-89-636-76219
>Mobile +49-178-7700355
Email: Gerhard.Kring@siemens.com
-----Ursprüngliche Nachricht-----
Von: python-projects-bounces@www.logilab.org [mailto:python-projects-bounces@www.logilab.org] Im Auftrag von Sylvain Thénault
Gesendet: Freitag, 21. Januar 2005 13:23
An: python-projects@logilab.org
Betreff: [Python-projects] [ANN] PyLint 0.6
Hi there,
I'm very pleased to announce the 0.6 release of PyLint. This release
fix a lot of bugs and should be much more stable than the 0.5 release
where stopping actual import of analyzed modules has been introduced
(and that's really a huge improvment, since this was potentialy
introducing some side effects). There are also more documentation,
a better test suite, and also minor new features was added. Every
users of pylint should update to 0.6. Notice that Logilab's common
library 0.9 is required (http://www.logilab.org/projects/common).
Enjoy !
What's new ?
------------
* refix pylint emacs mode
* no more traceback when just typing "pylint"
* fix a bug which may cause crashes on resolving parent classes
* fix problems with the format checker: don't chock on files
containing multiple CR, avoid C0322, C0323, C0324 false positives
with triple quoted string with quote inside
* correctly detect access to member defined latter in __init__ method
* now depends on common 0.8.1 to fix problem with interface resolution
(close #8606)
* new --list-msgs option describing available checkers and their
messages
* added windows specific documentation to the README file, contributed
by Brian van den Broek
* updated doc/features.txt (actually this file is now generated using
the --list-msgs option), more entries into the FAQ
* improved tests coverage
What is pylint ?
----------------
Pylint is a python tool that checks if a module satisfy a coding
standard. Pylint can be seen as another pychecker since nearly all
tests you can do with pychecker can also be done with Pylint. But
Pylint offers some more features, like checking line-code's length,
checking if variable names are well-formed according to your coding
standard, or checking if declared interfaces are truly implemented,
and much more (see http://www.logilab.org/pylint/ for the complete
check list). The big advantage with Pylint is that it is highly
configurable, customizable, and you can easily write a small plugin to
add a personal feature.
The usage it quite simple :
$ pylint mypackage.mymodule
This command will output all the errors and warnings related to the
tested code (here : mypackage.mymodule), will dump a little summary at
the end, and will give a mark to the tested code.
Pylint is free software distributed under the GNU Public Licence.
Home page
---------
http://www.logilab.org/projects/pylint
Download
--------
ftp://ftp.logilab.org/pub/pylint
Mailing list
------------
mailto://python-projects@lists.logilab.org
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects
