Andrew McNabb writes:Ah, OK, that's right. Just goes to show that foo(=spam, =eggs) is
> > You're proposing that the "awful" workaround be made magical, builtin,
> > and available to be used in any situation whether appropriate or not?
>
> No, I'm not. That would look like this:
>
> >>> print('{spam} and {eggs}'.format())
really too confusing to be used. ;-)
My apologies, I didn't really think anybody wants "'{foo}'.format()"
> > I'll take the explicit use of locals any time.
>
> I don't think anyone likes the idea of magically passing locals into all
> function calls.
to DWIM. The intended comparison was to the proposed syntax, which I
think is confusing and rather ugly.