Message6354

Author lukas
Recipients lukas
Date 2011-01-26.13:48:47
SpamBayes Score 4.241951e-05
Marked as misclassified No
Message-id <1296049728.14.0.342840032327.issue1702@psf.upfronthosting.co.za>
In-reply-to
Content
On my little endian x86 linux machine, jython reports the wrong byteorder. This also has effects on the behavior of struct and array and introduces subtle errors when doing i/o. Especially, as the array.tofile() uses the (wrongly) detected native format.

Testcode:
>>>import os
>>>os.byteorder
'big'

--> should be 'little'

my jython version:
Jython 2.5.2rc3 (Release_2_5_2rc3:7184, Jan 10 2011, 22:54:57) 
[Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_20
History
Date User Action Args
2011-01-26 13:48:48lukassetrecipients: + lukas
2011-01-26 13:48:48lukassetmessageid: <1296049728.14.0.342840032327.issue1702@psf.upfronthosting.co.za>
2011-01-26 13:48:48lukaslinkissue1702 messages
2011-01-26 13:48:47lukascreate