[Python-3000] Implementing % formatting in terms of str.format()
skip at pobox.com
skip at pobox.com
Thu Apr 10 04:53:06 CEST 2008
>> Is there a 2-to-3 fixer for % format? I scanned the fixes directly
>> quickly but didn't see anything obvious.
Benjamin> I believe the only reason that % is even in 3.0 is that a 2to3
Benjamin> fixer couldn't be easily written for it.
I find that kind of hard to believe (that it should be terribly difficult to
write a fixer, at least given a % operator with a string literal LHS and
either a tuple or dict RHS or a call to locals() or globals()).
Skip
More information about the Python-3000
mailing list