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 loewis
Recipients Arfrever, eli.bendersky, flox, loewis, serhiy.storchaka
Date 2012-06-16.18:43:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339872226.26.0.921805320506.issue14055@psf.upfronthosting.co.za>
In-reply-to
Content
__sizeof__ is supposed to account for just the object, not for the size of any object it refers to. If you want to compute total memory consumption, you should get a list of all objects, and then sum up __sizeof__. If some object would also include some of its referents, there would be a danger of accounting some memory twice.
History
Date User Action Args
2012-06-16 18:43:46loewissetrecipients: + loewis, Arfrever, eli.bendersky, flox, serhiy.storchaka
2012-06-16 18:43:46loewissetmessageid: <1339872226.26.0.921805320506.issue14055@psf.upfronthosting.co.za>
2012-06-16 18:43:45loewislinkissue14055 messages
2012-06-16 18:43:45loewiscreate