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 pitrou
Recipients belopolsky, pitrou, rhettinger
Date 2010-09-15.21:39:48
SpamBayes Score 0.011779805
Marked as misclassified No
Message-id <1284586785.3190.76.camel@localhost.localdomain>
In-reply-to <1284586638.14.0.366528605834.issue9865@psf.upfronthosting.co.za>
Content
> > How do you want to "handle this in general"?
> 
> Possibly by adding up __sizeof__'s of base and __dict__ in a generated
> function?  With a special handling of slots ...

I agree that in the general case this would be better, but for
OrderedDict it would still fail to give the right value (OrderedDict
also needs to take into account its internal node objects).
History
Date User Action Args
2010-09-15 21:39:50pitrousetrecipients: + pitrou, rhettinger, belopolsky
2010-09-15 21:39:48pitroulinkissue9865 messages
2010-09-15 21:39:48pitroucreate