Message189231
Well, adding weak references left and right to break cycles is going to subtly change or break people's code and hasn't been done so far, but that's only my opinion. Anyway, I want to correct what you say about tp_subclasses: yes, tp_subclasses is a list of weakrefs, but the reason is not (as I think you mean) to avoid cycles. The reason is simply that if it were strong references, then all classes ever created would stay alive. |
|
Date |
User |
Action |
Args |
2013-05-14 16:10:02 | arigo | set | recipients:
+ arigo, gvanrossum, fdrake, amaury.forgeotdarc, ncoghlan, pitrou, kristjan.jonsson, daniel.urban, pconnell, isoschiz |
2013-05-14 16:10:02 | arigo | set | messageid: <1368547802.63.0.27865581962.issue17950@psf.upfronthosting.co.za> |
2013-05-14 16:10:02 | arigo | link | issue17950 messages |
2013-05-14 16:10:02 | arigo | create | |
|