New submission from Antoine Pitrou <pit...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue9865>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to