On 27 авг, 19:19, Carl Banks <pavlovevide...@gmail.com> wrote: > On Aug 27, 8:01 am, zaur <szp...@gmail.com> wrote: > > > On 27 авг, 18:34, Carl Banks <pavlovevide...@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
In my opinion idea of using object's dictionary as nested scope is more about structuring code blocks rather than just saving typing and implicit attribute access. -- http://mail.python.org/mailman/listinfo/python-list