[SciPy-dev] pickling problem
Travis Oliphant
oliphant.travis at ieee.org
Thu Dec 1 11:32:52 EST 2005
>>I can't seem to reproduce this error.
>>
>>This error will only show up in the array_fromstructinterface code which
>>parses the array_struct interface information.
>>
>>What is the result of b.flags on your system? To find out insert print
>>b.flags right before you call Numeric.array.
>>
>>Mine is
>>
>>{'WRITEABLE': True, 'UPDATEIFCOPY': False, 'NOTSWAPPED': True,
>>'CONTIGUOUS': True, 'FORTRAN': True, 'ALIGNED': True, 'OWNDATA': False}
>>
>>In particular you are looking for WRITEABLE and ALIGNED to both be True.
>>
>>
>
>mine is
>
>{'WRITEABLE': True, 'UPDATEIFCOPY': False, 'NOTSWAPPED': True, 'CONTIGUOUS':
>True, 'FORTRAN': True, 'ALIGNED': False, 'OWNDATA': False}
>
>Darren
>
>
>
Also, could you send me the result of
import scipy.base.numerictypes as sbn
sbn._alignment[b.dtype]
Thanks,
-Travis
More information about the SciPy-Dev
mailing list