[issue2898] Add memory footprint query

Georg Brandl report at bugs.python.org
Sat May 17 20:52:33 CEST 2008


Georg Brandl <georg at python.org> added the comment:

Lists will need a custom tp_footprint then, too. Or, if we call it
sizeof, the slot should be tp_sizeof. BTW, is a new slot necessary, or
can it just be a type method called __sizeof__?

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2898>
__________________________________


More information about the Python-bugs-list mailing list