Re: [code-quality] Python2 brackets for print statements (C0325)

2014-01-26 Thread Sasha Hart
I think print(arg) with one argument in python2 should be accepted. Assuming one argument, the behavior is the same between versions, making the question all but pointless - but its usefulness for doing single-source is a strong practical argument for allowing it. The problem comes when you use 0 o

[code-quality] Python2 brackets for print statements (C0325)

2014-01-26 Thread Carl Crowder
Hi all, I wanted to canvas your opinion about something. Currently, if you have a print statement with brackets in Python2, pylint will raise a comment C0325. This is suppressed if "from __future__ import print_statement" is used. My question is whether or not using print statements with paren