[Numpy-discussion] Re: weird interaction: pickle, numpy, matplotlib.hist

Christopher Barker Chris.Barker at noaa.gov
Thu Apr 6 14:59:03 CDT 2006


Travis Oliphant wrote:
> Thus, 
> perhaps on pickle read the data should be copied to native byte-order if 
> necessary.

+1

Those that are working with non-native byte order on purpose presumably 
know what they are doing, and can check and swap as necessary -- or use 
tofile and fromfile, which I presume don't do any byteswapping for you.

-Chris




-- 
Christopher Barker, Ph.D.
Oceanographer
                                     		
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the Numpy-discussion mailing list