Object's nesting scope

ryles rylesny at gmail.com
Thu Aug 27 06:44:43 CEST 2009


On Aug 26, 8:51 am, zaur <szp... at gmail.com> 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?
>
> Zaur

FYI, there was recently a similar idea being discussed on the python-
ideas list:

http://groups.google.com/group/python-ideas/browse_thread/thread/1a13cd9a5189b01c?hl=en



More information about the Python-list mailing list