Message167010
Do I understand correctly that for each Python subobject must be one of the following:
1) or it is visited in tp_traverse;
2) or it is accounted in __sizeof__ together with all its subobjects (if they cannot leak out)?
PyAccu can contains not only Unicode objects, but at least an instance of a Unicode subtype, which can has a reference to StringIO object, creating a cycle. Does this mean that PyAccu should be visited in tp_traverse and not be accounted in __sizeof__? Or should we tighten the control and ensure that PyAccu contains only exact Unicode objects? |
|
Date |
User |
Action |
Args |
2012-07-31 15:52:33 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, pitrou, benjamin.peterson, stutzbach, hynek |
2012-07-31 15:52:33 | serhiy.storchaka | set | messageid: <1343749953.88.0.538958971763.issue15490@psf.upfronthosting.co.za> |
2012-07-31 15:52:33 | serhiy.storchaka | link | issue15490 messages |
2012-07-31 15:52:33 | serhiy.storchaka | create | |
|