[Python-ideas] caching properties

Benjamin Peterson benjamin at python.org
Thu Apr 30 04:45:52 CEST 2009


George Sakkis <george.sakkis at ...> writes:
> 
> 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 ?

Actually, I was thinking that using caching with fset or fdel would not
be allowed.







More information about the Python-ideas mailing list