engelbert gruber <[email protected]> added the comment:
in 2.7 svn _struct.c
formatdef native_table[] = {
{'B', sizeof(char), 0, nu_ubyte, np_ubyte},
formatdef bigendian_table[]
{'B', 1, 0, nu_ubyte, bp_uint},
formatdef lilendian_table[]
{'B', 1, 0, nu_ubyte, lp_uint},
np_ubyte calls get_long b/lp_uint call get_wrapped_ulong which calls
#define PyInt_Check(op) \
PyType_FastSubclass((op)->ob_type, Py_TPFLAGS_INT_SUBCLASS)
but ob_type is set to BASE flags INT_SUBCLASS i snot set.
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue2263>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com