Martin v. Löwis <mar...@v.loewis.de> added the comment: Given how C's sizeof works, it may be debatable whether it's natural to expect that sys.getsizeof should be recursive. If you have a struct with pointers (say, char*) in C, and you do sizeof, the string length isn't considered, either.
But I'm certainly fine with making this more clear. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14055> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com