[Python-Dev] PEP 42: sizeof(obj) builtin

Raymond Hettinger Raymond Hettinger" <python@rcn.com
Thu, 30 Jan 2003 19:11:40 -0500


I'm about to start working on this one and wanted
to check here first to make sure there is still a 
demand for it and to get ideas on the best implementation
strategy.

I'm thinking of summing all of the tp_basicsize slots
while recursing through tp_traverse.


Raymond Hettinger