Object's nesting scope

Carl Banks pavlovevidence at gmail.com
Thu Aug 27 11:19:04 EDT 2009


On Aug 27, 8:01 am, zaur <szp... at gmail.com> wrote:
> On 27 авг, 18:34, Carl Banks <pavlovevide... at gmail.com> wrote:
> > The idea has been
> > discussed in various forms here quite a bit over the years.  I doubt
> > there's any chance it'll be accepted into Python, because it goes
> > against one of the main design points of Python: that attributes
> > should always be accessed explicitly.
>
> I don't in general consider this idea as a way for implicit access to
> object's attributes.

That's what is it regardless of what you consider it.

> Idea is about to use in some way object's dictionary as nested scope
> in a code block.

Which is implicitly accessing the object's attributes.


Carl Banks



More information about the Python-list mailing list