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 schuppenies
Recipients facundobatista, georg.brandl, gvanrossum, jcea, loewis, rhettinger, schuppenies
Date 2008-05-29.08:11:22
SpamBayes Score 0.0051365374
Marked as misclassified No
Message-id <1212048687.43.0.462683009326.issue2898@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch implements the sizeof functionality as a sys module
function. __sizeof__ is implemented by object as a instance method, by
type as a class method as well as by types which's size cannot be
computed from basicsize, itemsize and ob_size.
sys.getsizeof() has some work-arounds to deal with type instances and
old-style classes.
History
Date User Action Args
2008-05-29 08:11:28schuppeniessetspambayes_score: 0.00513654 -> 0.0051365374
recipients: + schuppenies, gvanrossum, loewis, georg.brandl, rhettinger, facundobatista, jcea
2008-05-29 08:11:27schuppeniessetspambayes_score: 0.00513654 -> 0.00513654
messageid: <1212048687.43.0.462683009326.issue2898@psf.upfronthosting.co.za>
2008-05-29 08:11:26schuppenieslinkissue2898 messages
2008-05-29 08:11:26schuppeniescreate