[Python-ideas] Dict-like object with property access

Alexander Heger python at 2sn.net
Sat Feb 4 22:59:00 CET 2012


>> +1 for reconsidering the d.[name] / d.(name) / d!name syntax.
>
> d.[name] is too much like d[name] The . that modifies the meaning of
> 'name' is too far away.

I think this is the best choice.

 > d.(name)

I think 'x' and ('x') should remain the same

-Alexander



More information about the Python-ideas mailing list