Antoine Pitrou <pit...@free.fr> added the comment: > > 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). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9865> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com