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-01-29.01:05:49
SpamBayes Score 1.610562e-06
Marked as misclassified No
Message-id <1233191157.87.0.777338835919.issue2263@psf.upfronthosting.co.za>
In-reply-to
Content
on ubuntu 8.04, Python 2.7a0 (trunk:69044) and numpy 1.2.1
("." is OK, "e" means SystemError)

* signed always works, longlong also.
* unsigned native works half of the time
* unsigned little/big endian never works
* the numpy type does seam to have any effect.

signed char          b   'int16'   .  <.  >.  'uint32'   .  <.  >. 
sys:1: DeprecationWarning: struct integer overflow masking is deprecated
unsigned char        B   'int16'   .  <e  >e  'uint32'   .  <e  >e 
signed short         h   'int16'   .  <.  >.  'uint32'   .  <.  >. 
unsigned short       H   'int16'   .  <e  >e  'uint32'   .  <e  >e 
signed int           i   'int16'   .  <.  >.  'uint32'   .  <.  >. 
unsigned int         I   'int16'   e  <e  >e  'uint32'   e  <e  >e 
signed long          l   'int16'   .  <.  >.  'uint32'   .  <.  >. 
unsigned long        L   'int16'   e  <e  >e  'uint32'   e  <e  >e 
signed long long     q   'int16'   .  <.  >.  'uint32'   .  <.  >. 
unsigned long long   Q   'int16'   .  <.  >.  'uint32'   .  <.  >.
History
Date User Action Args
2009-01-29 01:05:59grubertsetrecipients: + grubert, jvr
2009-01-29 01:05:57grubertsetmessageid: <1233191157.87.0.777338835919.issue2263@psf.upfronthosting.co.za>
2009-01-29 01:05:52grubertlinkissue2263 messages
2009-01-29 01:05:51grubertcreate