29 Apr
2009
29 Apr
'09
6:21 p.m.
On Wed, Apr 29, 2009 at 8:31 PM, Chris Rebert
On Wed, Apr 29, 2009 at 4:23 PM, Benjamin Peterson
wrote: Mathias Panzenböck
writes: You mean like the once methods in eiffel?
I'm not sure. I've never used Eiffel.
http://en.wikipedia.org/wiki/Eiffel_(programming_language)#Once_routines
Sounds pretty much like what you're suggesting.
Properties are not plain methods though, they also support setters and deleters. Should the cache be cleared after a set/delete ? Or does cache=True implies fset=fdel=None ? George