A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-September/056126.html below:

[Python-Dev] Replacement for print in Python 3.0

[Python-Dev] Replacement for print in Python 3.0 [Python-Dev] Replacement for print in Python 3.0Bill Janssen janssen at parc.com
Sun Sep 4 00:40:19 CEST 2005
> I do hate having to write two parentheses -- it's more than the extra
> keystrokes.  It's that I have to use two shifted characters and I have
> to be sure to close the construct, which can be a PITA when the start of
> the function call is separated from the end by many lines.

> What I found is that while this can be a real annoyance for some code,
> there are some beneficial trade-offs that make this palatable...

> So for permanent code, I think it's a decent trade-off.  We lose
> something but we gain something.  I'll mourn the syntax highlighting
> loss (or end up hacking python-mode) but oh well.

Wouldn't it make sense then to replace the "print" statement with a
"printf" statement?  Then you'd get the formatting, and wouldn't have
to type the parentheses.  I don't see an argument for moving to a
function; indeed, there's an argument against.  What you want is a
fancier print.

Bill
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4