block scope?

Aahz aahz at pythoncraft.com
Sat Apr 7 19:45:41 EDT 2007


In article <1hw7kzo.1hepj3c1who5zhN%aleax at mac.com>,
Alex Martelli <aleax at mac.com> wrote:
>Steve Holden <steve at holdenweb.com> wrote:
>>
>> What do you think the chances are of this being accepted for Python 3.0?
>> It is indeed about the most rational approach, though of course it does
>> cause problems with dynamic namespaces.
>
>What problems do you have in mind?  The compiler already determines the
>set of names that are local variables for a function; all it needs to do
>is diagnose an error or warning if the set of names for a nested
>function overlaps with that of an outer one.

exec?
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?



More information about the Python-list mailing list