[issue15456] Correct __sizeof__ support for code objects

Serhiy Storchaka report at bugs.python.org
Thu Jul 26 12:29:15 CEST 2012


New submission from Serhiy Storchaka <storchaka at gmail.com>:

Here is a patch that implements __sizeof__ for code objects (PyCodeObject) counting co_cell2arg array.

----------
components: Interpreter Core
files: code_sizeof.patch
keywords: patch
messages: 166469
nosy: storchaka
priority: normal
severity: normal
status: open
title: Correct __sizeof__ support for code objects
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file26523/code_sizeof.patch

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


More information about the Python-bugs-list mailing list