Re: [Python-projects] New warning about print parens not a good idea?

2014-02-05 Thread Alexandre Fayolle ML
On 06/02/2014 02:13, Dan Stromberg wrote: I noticed recently that pylint has begun warning about use of parens on print statements in Python 2.x code. This seems reasonable on the face of it, except it deters writing code that runs on 2.x and 3.x, unmodified. The error looks like: C: 5, 0

[Python-projects] New warning about print parens not a good idea?

2014-02-05 Thread Dan Stromberg
I noticed recently that pylint has begun warning about use of parens on print statements in Python 2.x code. This seems reasonable on the face of it, except it deters writing code that runs on 2.x and 3.x, unmodified. The error looks like: C: 5, 0: Unnecessary parens after 'print' keyword (super