Author thesheep
Recipients ncoghlan, rhettinger, serhiy.storchaka, thesheep
Date 2013-12-04.13:49:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386164940.42.0.656235217756.issue19859@psf.upfronthosting.co.za>
In-reply-to
Content
> Umm, that's part of the operational definition of a value based cache
> - it needs to keep things alive, so that if a different instance shows
> up with the same value, it will still get a cache hit.

If it only kept the return value alive, that wouldn't be a problem, it's indeed intuitively obvious that it has to do that in order to work. But what many people miss to notice is that it also keeps any arguments that were passed to the function alive. This is not intuitive, and as I demonstrated with my patch, not even necessary, so I think it might be worthwhile to at least mention this little implementation quirk.
History
Date User Action Args
2013-12-04 13:49:00thesheepsetrecipients: + thesheep, rhettinger, ncoghlan, serhiy.storchaka
2013-12-04 13:49:00thesheepsetmessageid: <1386164940.42.0.656235217756.issue19859@psf.upfronthosting.co.za>
2013-12-04 13:49:00thesheeplinkissue19859 messages
2013-12-04 13:49:00thesheepcreate