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 serhiy.storchaka
Recipients pitrou, rhettinger, serhiy.storchaka
Date 2013-09-19.11:02:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379588524.57.0.671283183822.issue19048@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not sure that sys.getsizeof() should recursively count all Python subobjects. That is why I had omitted tee() in my patch.

>>> sys.getsizeof([[]])
36
>>> sys.getsizeof([list(range(10000))])
36
History
Date User Action Args
2013-09-19 11:02:04serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, pitrou
2013-09-19 11:02:04serhiy.storchakasetmessageid: <1379588524.57.0.671283183822.issue19048@psf.upfronthosting.co.za>
2013-09-19 11:02:04serhiy.storchakalinkissue19048 messages
2013-09-19 11:02:04serhiy.storchakacreate