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

Antoine Pitrou report at bugs.python.org
Thu Sep 19 13:05:41 CEST 2013


Antoine Pitrou added the comment:

> I'm not sure that sys.getsizeof() should recursively count all Python
> subobjects.

Those are private subobjects. They are not visible to the programmer
(except perhaps by calling __reduce__ or __setstate__).

----------

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


More information about the Python-bugs-list mailing list