[Python-projects] pylint and alternative imports?

2011-01-29 Thread Dan Stromberg
Is there a way of making code like this pass pylint? It's probably clear from the code, but I'll say it anyway: I'm writing Python code that'll run on multiple python interpreters, but none of those interpreters have all 100% of these modules: try: # python 3 import dbm.gnu as db_mod except

[Python-projects] Running Pylint from one Python install using different Python version

2011-01-29 Thread Michael Rans
Hi, I have written a Pylint plugin for Editra. Pylint runs much faster if I invoke it directly rather than via subprocess although it requires some hackery described here:http://stackoverflow.com/questions/2028268/invoking-pylint-programmatically/4803466#4803466 Editra is installed by p2ex