[issue15402] Correct __sizeof__ support for struct
Meador Inge
report at bugs.python.org
Wed Jul 25 17:11:37 CEST 2012
Meador Inge <meadori at gmail.com> added the comment:
While looking this up in the C Standard (ISO/IEC 9899:TC3) I also noticed 6.3.2.3p8:
"""
A pointer to a function of one type may be converted to a pointer to a function of another
type and back again; the result shall compare equal to the original pointer. If a converted
pointer is used to call a function whose type is not compatible with the pointed-to type, the behavior is undefined.
"""
I will add the 'unused' parameter back with my refresh patch.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15402>
_______________________________________
More information about the Python-bugs-list
mailing list