Message198054
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 |
|
Date |
User |
Action |
Args |
2013-09-19 11:02:04 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, pitrou |
2013-09-19 11:02:04 | serhiy.storchaka | set | messageid: <1379588524.57.0.671283183822.issue19048@psf.upfronthosting.co.za> |
2013-09-19 11:02:04 | serhiy.storchaka | link | issue19048 messages |
2013-09-19 11:02:04 | serhiy.storchaka | create | |
|