[issue19048] itertools.tee doesn't have a __sizeof__ method

Serhiy Storchaka report at bugs.python.org
Thu Sep 19 20:11:29 CEST 2013


Serhiy Storchaka added the comment:

Well. itertools._tee is one Python object and itertools._tee_dataobject is another Python object. sys.getsizeof() gives you the memory usage of this objects separately.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19048>
_______________________________________


More information about the Python-bugs-list mailing list