[Python-Dev] Summary of "dynamic attribute access" discussion
Christopher Armstrong
radix at twistedmatrix.com
Tue Feb 13 17:52:27 CET 2007
On 2/13/07, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> Anthony Baxter schrieb:
> >> and the "wrapper class" idea of Nick Coghlan:
> >> attrview(obj)[foo]
> >
> > This also appeals - partly because it's not magic syntax <wink>
>
> I also like this.
Martin and Anthony are correct. We do not need more syntax for such a
trivial and trivially-implemented feature. The syntax is no real
benefit.
--
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/
More information about the Python-Dev
mailing list