[issue15456] Correct __sizeof__ support for code objects

2012-08-02 Thread Jesús Cea Avión
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

[issue15456] Correct __sizeof__ support for code objects

2012-07-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Thank you for fast commiting. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15456 ___

[issue15456] Correct __sizeof__ support for code objects

2012-07-26 Thread Serhiy Storchaka
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

[issue15456] Correct __sizeof__ support for code objects

2012-07-26 Thread Serhiy Storchaka
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 ___

[issue15456] Correct __sizeof__ support for code objects

2012-07-26 Thread Martin v . Löwis
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

[issue15456] Correct __sizeof__ support for code objects

2012-07-26 Thread Roundup Robot
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

[issue15456] Correct __sizeof__ support for code objects

2012-07-26 Thread Martin v . Löwis
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 ___