Message184515
| Author |
Anssi.Kääriäinen |
| Recipients |
Anssi.Kääriäinen |
| Date |
2013年03月18日.20:34:25 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1363638865.27.0.0312549957802.issue17468@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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). |
|
History
|
|---|
| 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 |
|