Alex Gaynor added the comment:

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.

----------
nosy: +alex

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21145>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to