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

2014-02-05 Thread Carl Crowder
I recently asked about the same thing, although there wasn't much discussion as a result. Pylint is aware of "from __future__ import print_function" and using it will suppress this warning you are seeing. However that is not available for Python 2.5, so it depends on what kind of compatibility

Re: [code-quality] [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

[code-quality] pylint with simplejson & json

2014-02-05 Thread Ali-Akber Saifee
Hi, I'm getting mixed results from pylint when it inspects the result of simplejson.loads versus json.loads. I've documented some of my findings in the stackoverflow question at http://stackoverflow.com/questions/21545409/pylint-reports-maybe-no-member-error-for-data-loaded-via-simplejson . I'm s