[New-bugs-announce] [issue15695] Correct __sizeof__ support for StgDict

Serhiy Storchaka report at bugs.python.org
Thu Aug 16 21:13:36 CEST 2012


New submission from Serhiy Storchaka:

Here is a patch that implements correct __sizeof__ for StgDict (a dictionary subclass used in ctypes).

There are no tests because I don't know how to create and use StgDict. So I'm not sure that the code works correctly. Please help me with tests.

----------
components: Library (Lib)
files: stgdict_sizeof-3.3.patch
keywords: patch
messages: 168399
nosy: amaury.forgeotdarc, belopolsky, meador.inge, storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Correct __sizeof__ support for StgDict
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file26854/stgdict_sizeof-3.3.patch

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


More information about the New-bugs-announce mailing list