Author serhiy.storchaka
Recipients ncoghlan, rhettinger, serhiy.storchaka, thesheep
Date 2013-12-03.20:30:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386102604.95.0.629645382385.issue19859@psf.upfronthosting.co.za>
In-reply-to
Content
Weak references make no sense in most cases when arguments disappear just after function call. For the self argument of a method it makes more sense. Perhaps lru_cache can return not a function, but a descriptor. This will allow implement special processing of first argument.

Or new decorator lru_cache_method should be added.
History
Date User Action Args
2013-12-03 20:30:05serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, ncoghlan, thesheep
2013-12-03 20:30:04serhiy.storchakasetmessageid: <1386102604.95.0.629645382385.issue19859@psf.upfronthosting.co.za>
2013-12-03 20:30:04serhiy.storchakalinkissue19859 messages
2013-12-03 20:30:04serhiy.storchakacreate