En Thu, 27 Aug 2009 12:43:55 -0300, zaur <[email protected]> escribió:
On 27 авг, 19:19, Carl Banks <[email protected]> wrote:
On Aug 27, 8:01 am, zaur <[email protected]> wrote:
> On 27 авг, 18:34, Carl Banks <[email protected]> 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.
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.
But you *are* doing implicit attribute access. Anyway, the topic was
raised and rejected several times in the past; see this recent thread in
the python-ideas list:
http://comments.gmane.org/gmane.comp.python.ideas/5518
--
Gabriel Genellina
--
http://mail.python.org/mailman/listinfo/python-list