[issue17468] Generator memory leak

Vikas report at bugs.python.org
Thu Oct 22 10:18:14 EDT 2015


Vikas added the comment:

I see this comment :
>> When iteration over a queryset raised an exception, the result cache remained initialized with an empty list, so subsequent iterations returned an empty list instead of raising an exception>>

What if we catch the exceptions? Will that cause not to leak memory?

----------
nosy: +Vikas

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17468>
_______________________________________


More information about the Python-bugs-list mailing list