On Fri, 8 Sep 2006 08:00:25 -0500, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: >I am wondering whether anyone knows of a static source-code analyzer for >Python, kinda like a static pychecker. > >That is, instead of being a run-time tool as pychecker is, it would be a >'compile-time' tool. If I were writing such a thing it would use the ast >returned from compiler.parse. Unlike the inspect module, it would peruse >the code looking for possible problems. >
pyflakes is this. It looks for significantly fewer problems than pychecker, but it doesn't require modules to be importable to examine them and it is significantly faster. Jean-Paul -- http://mail.python.org/mailman/listinfo/python-list