Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15456
___
___
Python-bugs-list mailing list
Serhiy Storchaka storch...@gmail.com added the comment:
Thank you for fast commiting.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15456
___
New submission from Serhiy Storchaka storch...@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
Serhiy Storchaka storch...@gmail.com added the comment:
See also issue12399.
--
nosy: +benjamin.peterson, ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15456
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Interestingly, the original patch did change the sizeof test, but incorrectly
(adding the extra pointer to the struct spec, but failing to recognize that
there is additional memory allocated).
This tells me
a) we *absolutely* need to
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 5093cfdff2a9 by Martin v. Löwis in branch 'default':
Issue #15456: Fix code __sizeof__ after #12399 change.
http://hg.python.org/cpython/rev/5093cfdff2a9
--
nosy: +python-dev
Martin v. Löwis mar...@v.loewis.de added the comment:
Thanks for the patch!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15456
___