This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author grubert
Recipients grubert, jvr
Date 2009-02-09.23:37:39
SpamBayes Score 9.850422e-06
Marked as misclassified No
Message-id <1234222660.94.0.557507144178.issue2263@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-02-09 23:37:41grubertsetrecipients: + grubert, jvr
2009-02-09 23:37:40grubertsetmessageid: <1234222660.94.0.557507144178.issue2263@psf.upfronthosting.co.za>
2009-02-09 23:37:39grubertlinkissue2263 messages
2009-02-09 23:37:39grubertcreate