[Python-ideas] Dict-like object with property access
aquavitae69 at gmail.com
Mon Jan 30 18:50:11 CET 2012
I actually implemented this while ago in a dictionary I created. And a few
weeks ago I went through all my code and removed it because it just wasn't
worth the problems it gave. It's really just sugar for something that's
pretty neat already.
On Jan 30, 2012 7:28 PM, "Eric Snow" <ericsnowcurrently at gmail.com> wrote:
> On Mon, Jan 30, 2012 at 10:14 AM, Arnaud Delobelle <arnodel at gmail.com>
> > On Jan 30, 2012 4:23 PM, "Massimo Di Pierro" <massimo.dipierro at gmail.com
> > wrote:
> >> I do not think the issue is whether the people who use that semantic
> >> understand it or not. I can assure you they do and they know when it is
> >> appropriate to use it or not. The issue is whether there is any value is
> >> making it faster by including it in python or not. Because of the
> >> popularity of JS I think new users are starting to expect something
> like it
> >> out of the box.
> > (e.g. simply looping over keys is a pain). That it is widely used
> > 'feature' out of Python. If people want it they can implement it very
> > but encouraging them would be wrong.
> Python-ideas mailing list
> Python-ideas at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas