[Python-3000] Proposed changes to PEP3101 advanced string formatting -- please discuss and vote!
Daniel Stutzbach
daniel at stutzbachenterprises.com
Tue Mar 13 16:49:42 CET 2007
On 3/12/07, Patrick Maupin <pmaupin at gmail.com> wrote:
> Feature: Ability to pass in a dictionary or tuple of dictionaries of
> namespaces to search.
>
> This feature allows, in some cases, for much more dynamic code than
> *kwargs. (You could manually smush multiple dictionaries together to
> build kwargs, but that can be ugly, tedious, and slow.)
> Implementation-wise, this feature and locals() / globals() go hand in
> hand.
+1
I can think of many cases where it'd be nice to pass locals() along
with some_row_from_SQL.
--
Daniel Stutzbach, Ph.D. President, Stutzbach Enterprises LLC
More information about the Python-3000
mailing list