loop scope

Mel Wilson mwilson at the-wire.com
Thu Mar 18 09:47:43 EST 2004


In article <tyfekrr86zo.fsf at lxplus059.cern.ch>,
Jacek Generowicz <jacek.generowicz at cern.ch> wrote:
>mwilson at the-wire.com (Mel Wilson) writes:
>
>>    Far too few.  After the `nested x` statement comes
>> `nested nested x` and `nested nested nested x`,
>
>Nope. You would never write more than one "nested". It would be an
>instruction to Python _not_ to treat the name as local, [ ... ]

   Sorry.  Bad reading.  I came to my senses sometime
yesterday.  I don't like the idea of rebinding names
non-locally, but that's taste.  Nothing to do with the logic
of your idea.

        Regards.        Mel.



More information about the Python-list mailing list