Pre-PEP: Refusing to guess in string formatting operations
Cherniavsky Biniamin
cben at techunix.technion.ac.il
Mon Mar 17 05:18:00 EST 2003
In article <b4mvh6$59m$1 at odysseus.uci.kun.nl>, Patrick Vrijlandt wrote:
>
>I would like to submit this thought:
>The string formatting operator % can be replaced by
>/ for a single right operand ('shortcut') and
>// for a tuple right operand
>
>Advantages:
>Immediately all code can be made explict
>Depreciation of % can be done at any pace
>
Nice idea, I'll list it in the next revision. The only disatvantage is that
it implies that division will become the only formatting notation in Python
3000, which suffers from being arbitrary punctuation even more than my
proposal...
--
Beni Cherniavsky <cben at tx.technion.ac.il>
More information about the Python-list
mailing list