[Python-Dev] Binary Operator for New-Style String Formatting

"Martin v. Löwis" martin at v.loewis.de
Sun Jun 21 23:02:12 CEST 2009


> For better or for worse, I have created a patch against the py3k trunk
> which introduces a binary operator '@' as an alternative syntax for
> the new string formatting system introduced by PEP 3101 ("Advanced
> String Formatting"). [1]

I'd like to join everybody else who said that this would be a change
for the worse. This kind of syntax is one of the most prominent features
of Perl.

$@~ly/your/s!,
Martin


More information about the Python-Dev mailing list