On Thu, Nov 01, 2001 at 12:40:27PM -0600, Ian Bicking wrote: > I don't know who all noticed it, but Python 2.2 seems to add a feature > to make individual attribute accesses fully dynamic -- i.e., with a > getter, setter, and deleter. This potentially alleviates the need for > the *() and set*() functions that are all over the place -- and > without fancy/annoying __getattr__ magic. > > http://www.amk.ca/python/2.2/index.html#SECTION000340000000000000000
They are definitely very intriguing. I think they're getting off to a slow start because they've been underdocumented. Guido's 2.2 document (or maybe it was this one) only described them by example without the explanation--making you think they're good for *something*, but you're not quite sure what. As ppl talk more about where they can be useful, ppl will have a better feel for it. Also, the interface changed on this. There was a "getset" function for a while that seems to have disappeared, and ppl were waiting to see whether this property interface was here to stay. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
