[issue15402] Correct __sizeof__ support for struct

Martin v. Löwis report at bugs.python.org
Tue Jul 24 00:04:40 CEST 2012


Martin v. Löwis <martin at v.loewis.de> added the comment:

The patch that Meador committed is incorrect: METH_NOARGS functions still take a PyObject* args argument, which will be NULL. I'm puzzled, as Serhiy's original patch was correct.

As for the tests, I really wish there were tests that tested for *actual* values.

----------
nosy: +loewis

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


More information about the Python-bugs-list mailing list