[Python-Dev] Another Anonymous Block Proposal

Jason Diamond jason at diamond.name
Wed Apr 27 12:06:21 CEST 2005


Paul Svensson wrote:

>  You're not mentioning scopes of local variables, which seems to be
>  the issue where most of the previous proposals lose their balance
>  between hairy and pointless...

My syntax is just sugar for nested defs. I assumed the scopes of local 
variables would be identical when using either syntax.

Do you have any pointers to that go into the issues I'm probably missing?

Thanks.

-- 
Jason



More information about the Python-Dev mailing list