Strange Behavior

Fredrik Lundh fredrik at pythonware.com
Mon Oct 16 12:01:19 EDT 2006


Steven D'Aprano wrote:

> It isn't a bug in Python. At worst, it is a "gotcha", but it is a
> deliberate design decision, and quite useful. For example, this is good
> for caching complicated calculations:

it's also used to pass in *objects* instead of names into an inner scope.

</F>




More information about the Python-list mailing list