Why use "locals()"

Sean DiZazzo half.italian at gmail.com
Mon Sep 14 01:42:42 EDT 2009


> If you are willing to open your mind to the possibility that some
> Pythonic things don't adhere to every Zen, then I would suggest that
> Gabrielle's examples are perfectly Pythonic shortcuts.  But if you
> don't want to use them, you don't have to, nobody is forcing you.

It's a pretty small domain, but I see the use (and the Pythonicity).

Thanks all for your advice.

~Sean



More information about the Python-list mailing list