Object's nesting scope

Diez B. Roggisch deets at nospam.web.de
Wed Aug 26 15:13:49 CEST 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?


More information about the Python-list mailing list