Re: Pylint across Python versions

2014-02-10 Thread Ned Batchelder
On 2/10/14 6:39 AM, thomas.lehm...@adtech.com wrote: Hi, somebody who can tell me about pylint experiences across different Python version. Example: I'm using a construct like this: if sys.version.startswith("3."): unicode = str The reason is that Python 3 does not have this function any

Re: Pylint across Python versions

2014-02-10 Thread Chris Angelico
On Mon, Feb 10, 2014 at 10:39 PM, wrote: > Example: > I'm using a construct like this: > > if sys.version.startswith("3."): > unicode = str > > The reason is that Python 3 does not have this > function anymore but pylint yells for Python < 3 > about redefinition also it does not happen. > > H

Re: Pylint across Python versions

2014-02-10 Thread Mark Lawrence
On 10/02/2014 11:39, thomas.lehm...@adtech.com wrote: Hi, somebody who can tell me about pylint experiences across different Python version. Example: I'm using a construct like this: if sys.version.startswith("3."): unicode = str The reason is that Python 3 does not have this function an

Pylint across Python versions

2014-02-10 Thread thomas . lehmann
Hi, somebody who can tell me about pylint experiences across different Python version. Example: I'm using a construct like this: if sys.version.startswith("3."): unicode = str The reason is that Python 3 does not have this function anymore but pylint yells for Python < 3 about redefinition