[New-bugs-announce] [issue14055] Implement __sizeof__ for etree Element

Martin v. Löwis report at bugs.python.org
Sun Feb 19 21:28:46 CET 2012


New submission from Martin v. Löwis <martin at v.loewis.de>:

The cElementTree Element currently returns an incorrect response to sys.getsizeof, as it doesn't account for the extra structure, and for the child pointers array. This patch corrects the computation.

----------
files: sizeof.diff
keywords: patch
messages: 153726
nosy: loewis
priority: normal
severity: normal
status: open
title: Implement __sizeof__ for etree Element
Added file: http://bugs.python.org/file24570/sizeof.diff

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


More information about the New-bugs-announce mailing list