Re: rwproperty (was Re: [Zope3-dev] Re: zope.cachedescriptors outdated)

2007-02-28 Thread Gary Poster
On Feb 28, 2007, at 9:10 PM, Philipp von Weitershausen wrote: I didn't realize rwproperty was so popular. I've been wanting to put it on the Cheeseshop since I found out about its popularity. It's like you're reading my mind :). http://cheeseshop.python.org/ pypi/rwproperty Awesome, thank

Re: rwproperty (was Re: [Zope3-dev] Re: zope.cachedescriptors outdated)

2007-02-28 Thread Philipp von Weitershausen
On 28 Feb 2007, at 20:57 , Gary Poster wrote: On Feb 24, 2007, at 3:59 PM, Philipp von Weitershausen wrote: [...] I once mused about this and came up with rwproperty (a decorator spelling for getters *and* setters, del'ers) and classproperty (uses nested class statement): http://www.z3lab.o

rwproperty (was Re: [Zope3-dev] Re: zope.cachedescriptors outdated)

2007-02-28 Thread Gary Poster
On Feb 24, 2007, at 3:59 PM, Philipp von Weitershausen wrote: [...] I once mused about this and came up with rwproperty (a decorator spelling for getters *and* setters, del'ers) and classproperty (uses nested class statement): http://www.z3lab.org/sections/blogs/ philipp-weitershausen/2006

Re: [Zope3-dev] Re: zope.cachedescriptors outdated

2007-02-25 Thread Benji York
Philipp von Weitershausen wrote: I once mused about this and came up with rwproperty Which is quite nice. -- Benji York Senior Software Engineer Zope Corporation ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options

Re: [Zope3-dev] Re: zope.cachedescriptors outdated

2007-02-25 Thread Marius Gedminas
On Sat, Feb 24, 2007 at 09:59:16PM +0100, Philipp von Weitershausen wrote: > Jeff Shell wrote: > >With `readproperty`, you can still have the simple > >getter-method-wrapper property, with the ability to replace the value > >on instances. So no, the builtin 'property' descriptor is not fine. > >`pr

[Zope3-dev] Re: zope.cachedescriptors outdated

2007-02-24 Thread Philipp von Weitershausen
Jeff Shell wrote: With `readproperty`, you can still have the simple getter-method-wrapper property, with the ability to replace the value on instances. So no, the builtin 'property' descriptor is not fine. `property` came into being when Python got descriptors, but before it got decorators. By g