[Python-ideas] caching properties
Scott David Daniels
Scott.Daniels at Acm.Org
Thu Apr 30 21:53:56 CEST 2009
Arnaud Delobelle wrote:
>
> On 30 Apr 2009, at 20:22, Scott David Daniels wrote:
>> This is slightly better (name change as in Antoine Pitrou's comment):
>>
>> class cached(object): ...
> You're going to run into trouble with unhashable args.
As is entirely appropriate. The impossible doesn't become possible.
Of course, we'd have to explain that in the docs for cached.
--Scott David Daniels
Scott.Daniels at Acm.Org
More information about the Python-ideas
mailing list