On Tue, 2020-10-20 at 01:21 +0200, J. Pic wrote:
+1 because print is a debugging tool mostly used in short lived
temporary code as such the parenthesis do not matter and do not
provide any value.
A lot of debugger use print to instrumentalize their code during
development or debugging, as in: "I want to dump some variable and run
my test again" or something like that. This means that they are
writing a line of code that has a lifetime of a few minutes if not
seconds. I believe that the parenthesis don't matter in the vast
majority of cases where a developer writes a print statement: because
they would delete afterwards ie. with git checkout -p or something.
As such, PEP8 would have to decide that parenthesis are the way to go,
even though bare print statements are nicer for debugging than
parenthesis based debug statements.
_______________________________________________