[New-bugs-announce] [issue9865] OrderedDict doesn't implement __sizeof__
Antoine Pitrou
report at bugs.python.org
Wed Sep 15 23:12:39 CEST 2010
New submission from Antoine Pitrou <pitrou at free.fr>:
Ordered dicts pretend to have the memory consumption as dicts:
>>> import sys, collections
>>> sys.getsizeof({})
280
>>> sys.getsizeof(collections.OrderedDict())
280
----------
components: Library (Lib)
messages: 116481
nosy: pitrou, rhettinger
priority: low
severity: normal
status: open
title: OrderedDict doesn't implement __sizeof__
type: behavior
versions: Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9865>
_______________________________________
More information about the New-bugs-announce
mailing list