[Python-Dev] New syntax for 'dynamic' attribute access
Marek "Baczek" Baczyński
imbaczek at gmail.com
Tue Feb 13 00:24:31 CET 2007
2007/2/12, Benji York <benji at benjiyork.com>:
> Collin Winter wrote:
> > There's a connection, but I'd say it's the wrong one. In C, "x->y"
> > dereferences x, while in Python, "x->y" would dereference y. That's
> > just begging for trouble.
>
> Then the syntax should obviously be "x<-y".
<delurk>
Someone with OCaml background could confuse that with an assignment <evil_grin/>
</delurk>
--
Marek Baczyński
More information about the Python-Dev
mailing list