Roundup Robot added the comment:
New changeset a3d49f1de893 by Jesus Cea in branch '2.7':
Closes #15469: Correct __sizeof__ support for deque
http://hg.python.org/cpython/rev/a3d49f1de893
New changeset b0725c1b3068 by Jesus Cea in branch '3.2':
Closes #15469: Correct __sizeof__ support for
Serhiy Storchaka added the comment:
Patches updated. Now __sizeof__ is O(1) as Martin advised.
--
Added file: http://bugs.python.org/file26580/deque_sizeof-3.3-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15469
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file26581/deque_sizeof-3.2-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15469
___
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file26582/deque_sizeof-2.7-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15469
___
Changes by Meador Inge mead...@gmail.com:
--
nosy: +meador.inge
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15469
___
___
Python-bugs-list
New submission from Serhiy Storchaka storch...@gmail.com:
Here is a patch that implements correct __sizeof__ for collections.deque.
Test depends on issue15467.
--
components: Library (Lib)
files: deque_sizeof.patch
keywords: patch
messages: 166578
nosy: storchaka
priority: normal
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +rhettinger
Added file: http://bugs.python.org/file26545/deque_sizeof-3.2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15469
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file26546/deque_sizeof-2.7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15469
___