[Python-Dev] New syntax for 'dynamic' attribute access
Farshid Lashkari
flashk at gmail.com
Tue Feb 13 00:22:37 CET 2007
On 2/12/07, BJörn Lindqvist <bjourne at gmail.com> wrote:
> Is even more syntactic sugar really what Python really needs?
Yes, I need my fix!!!
my 2 cents:
I'm +1 on either the '.(name)' or '.[name]' syntax. I'm leaning more
towards the parentheses though. I don't really buy into the argument
that people will confuse it for a function call. That seems like more
of an argument against the dot operator in general than the new
syntax.
I'm -1 on the '->' syntax. It just doesn't look very clean to me.
-Farshid
More information about the Python-Dev
mailing list