Pre-PEP: Refusing to guess in string formatting operations

Patrick Vrijlandt p.vrijlandt at
Wed Mar 12 10:44:05 CET 2003

"Beni Cherniavsky" <cben at> schreef in bericht
news:mailman.1047411920.14927.python-list at
> Here is something I cooked a week ago but managed to post only now
> because it was buried in a damaged disk :-).  Please comment on it.

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

Immediately all code can be made explict
Depreciation of % can  be done at any pace

Patrick Vrijlandt

More information about the Python-list mailing list