Object's nesting scope

Diez B. Roggisch deets at nospam.web.de
Wed Aug 26 09:13:49 EDT 2009


zaur wrote:

> Hi folk!
> 
> What do you think about idea of "object's nesting scope" in python?
> 
> Let's imaging this feature, for example, in this syntax:
> 
> obj=<expression>:
>      <body>
> 
> or
> 
> <expression>:
>    <body>
> 
> That's means that result object of <expression> evaluation is used as
> nested scope for <body> evaluation.
> 
> So is this idea useful?

Whom am we to judge? Sure if you propose this, you have some usecases in
mind - how about you present these?

Diez



More information about the Python-list mailing list