
April 30, 2009
1:03 a.m.
Benjamin Peterson wrote:
I think it would be nice to add a "cache" argument to the property() constructor. When "cache" was True, property would only ask the getter function once for the result. This would simplify properties that require expensive operations to compute.
You mean like the once methods in eiffel?