Author serhiy.storchaka
Recipients Robert.Elsner, jcea, mark.dickinson, pitrou, r.david.murray, serhiy.storchaka
Date 2012-04-23.21:01:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335214650.3101.263.camel@raxxla>
In-reply-to <1334592597.05.0.199517355143.issue14596@psf.upfronthosting.co.za>
Content
Here is a patch that implements method __sizeof__ for Struct. This can
be used to limit the caching. In any case, it is useful to know the real
memory consumption of the object.

I'm not sure of the correctness of the method implementation.
Files
File name Uploaded
struct_sizeof.patch serhiy.storchaka, 2012-04-23.21:01:55
History
Date User Action Args
2012-04-23 21:01:56serhiy.storchakasetrecipients: + serhiy.storchaka, jcea, mark.dickinson, pitrou, r.david.murray, Robert.Elsner
2012-04-23 21:01:55serhiy.storchakalinkissue14596 messages
2012-04-23 21:01:55serhiy.storchakacreate