This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients benjamin.peterson, hynek, loewis, pitrou, serhiy.storchaka, stutzbach
Date 2012-07-31.15:52:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343749953.88.0.538958971763.issue15490@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2012-07-31 15:52:33serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, pitrou, benjamin.peterson, stutzbach, hynek
2012-07-31 15:52:33serhiy.storchakasetmessageid: <1343749953.88.0.538958971763.issue15490@psf.upfronthosting.co.za>
2012-07-31 15:52:33serhiy.storchakalinkissue15490 messages
2012-07-31 15:52:33serhiy.storchakacreate