[Numpy-discussion] Array interface

Magnus Lie Hetland magnus at hetland.org
Tue Apr 5 01:52:09 CDT 2005


Chris Barker <Chris.Barker at noaa.gov>:
>
> Travis Oliphant wrote:
> >Right now, a string is the only 
> >way to Pickle array data.  A bytes object would allow a way to Pickle 
> >without making a copy.
> 
> So could the new array protocol allow us to make a Python String from an 
> array without copying? That could be pretty handy.

Or treat a string as an array... Yay! :)

> -Chris

-- 
Magnus Lie Hetland                    Fall seven times, stand up eight
http://hetland.org                                  [Japanese proverb]




More information about the Numpy-discussion mailing list