Message206705
| Author |
vstinner |
| Recipients |
gvanrossum, pitrou, vstinner |
| Date |
2013年12月20日.22:15:00 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1387577701.69.0.296311867455.issue20032@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> Do you have an example of code that behaves differently with this patch? I can't find any.
I didn't check in the Python standard library, but the reference cycle is obvious, and I hate such issue. It introduces tricky issues like memory leaks.
Here is an example to demonstrate the issue. The "DELETE OBJECT" message is never displayed, so the object is never deleted (memory leak).
Comment "fut.set_exception(err)" line to delete the object, or apply attached patch. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年12月20日 22:15:01 | vstinner | set | recipients:
+ vstinner, gvanrossum, pitrou |
| 2013年12月20日 22:15:01 | vstinner | set | messageid: <1387577701.69.0.296311867455.issue20032@psf.upfronthosting.co.za> |
| 2013年12月20日 22:15:01 | vstinner | link | issue20032 messages |
| 2013年12月20日 22:15:01 | vstinner | create |
|