Why read-only nested scopes?

Fredrik Lundh fredrik at pythonware.com
Thu Sep 5 02:41:12 EDT 2002


David Eppstein wrote:

> I'm sure there were good reasons for this decision, but it leads to ugly
> workarounds like making each nonlocal variable into a list and assigning
> to x[0] instead of x...

when you find yourself doing that, it's a sure sign that you're
no longer using python to write python code...

</F>





More information about the Python-list mailing list