Message184515
A generator is leaked to gc.garbage in a situation where `__del__` isn't defined. See the attached file for as-minimalistic test case as I could make. Tested on Python 3.3.0, 3.2.3 and 2.7.3.
Note that if the try-except is removed from iterator(), then there is no leak.
This is related to Django bug #19895 (https://code.djangoproject.com/ticket/19895). |
|
Date |
User |
Action |
Args |
2013-03-18 20:34:25 | Anssi.Kääriäinen | set | recipients:
+ Anssi.Kääriäinen |
2013-03-18 20:34:25 | Anssi.Kääriäinen | set | messageid: <1363638865.27.0.0312549957802.issue17468@psf.upfronthosting.co.za> |
2013-03-18 20:34:25 | Anssi.Kääriäinen | link | issue17468 messages |
2013-03-18 20:34:25 | Anssi.Kääriäinen | create | |
|