This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients Omer.Katz, alex, eric.araujo, madison.may, pitrou, pydanny, r.david.murray, rhettinger, serhiy.storchaka, vstinner
Date 2014-05-18.22:40:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400452821.2346.0.camel@fsol>
In-reply-to <1400452752.16.0.723086969197.issue21145@psf.upfronthosting.co.za>
Content
> Will that implementation cause a memory leak? Won't the lru_cache have
> a dict mapping {self: result}, meaning that `self` will live forever,
> instead of storing result in self.__dict__, where the lifetimes are
> correct.

Oh, you're right. Sorry for the noise.
History
Date User Action Args
2014-05-18 22:40:24pitrousetrecipients: + pitrou, rhettinger, vstinner, pydanny, eric.araujo, alex, r.david.murray, serhiy.storchaka, madison.may, Omer.Katz
2014-05-18 22:40:23pitroulinkissue21145 messages
2014-05-18 22:40:23pitroucreate