[Python-Dev] Can we please have a better dict interpolation syntax?

Guido van Rossum guido at python.org
Thu Oct 23 00:50:43 EDT 2003


> I'm not asking for interpolation out of the current namespace
> or anything like that -- just a simple extension to the current
> set of formats for interpolating from a dict, that could be
> done right now without affecting anything. I'd be willing to
> supply a patch if it has some chance of being accepted.
> 
> I agree that the more esoteric proposals are best left until
> later.

But adding to % interpolation makes it less likely that a radically
different (and better) approach will be implemented, because the
status quo will be closer to "good enough" without being "right".

--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list