Why Turn "Print" into "Print()"????

alex23 wuwei23 at gmail.com
Tue May 27 04:15:40 EDT 2008


On May 27, 5:47 pm, Sverker Nilsson <s... at sncs.se> wrote:
> Dont make they functions. Or is this just to throw us out?

Have you even bothered to read the reasoning for this change since the
last time you got your knickers twisted over it?

http://www.python.org/dev/peps/pep-3105/#rationale

I don't see "piss everyone off" listed there anywhere.

Personally, I believe if you're writing code of any serious length,
you generally shouldn't be using 'print' anyway, using the logging
module allows for a lot more flexibility.

If you're bothered by having to type the parentheses while in the
interpreter, try using IPython with it's autocall mode turned on.



More information about the Python-list mailing list