[Numpy-discussion] Array interface and builtin array.array example

Sasha ndarray at mac.com
Tue Jul 11 21:38:31 CDT 2006


I had similar hopes when I submited the array interface patch
<https://sourceforge.net/tracker/index.php?func=detail&aid=1452906&group_id=5470&atid=305470>
and announced it on python-dev
<http://aspn.activestate.com/ASPN/Mail/Message/python-dev/3068813>.

I am still waiting for anyone to comment on it :-(


On 7/11/06, Travis Oliphant <oliphant at ee.byu.edu> wrote:
> Filip Wasilewski wrote:
>
> >Hi,
> >
> >the way of accessing data with __array_interface__, as shown by Travis
> >in [1], also works nicely when used with builtin array.array (if someone
> >here is still using it;).
> >
> >Time to convert array.array to ndarray is O(N) but can be made O(1) just
> >by simple subclassing.
> >
> >[1] http://aspn.activestate.com/ASPN/Mail/Message/numpy-discussion/3191164
> >
> >
> >
> This is exactly the kind of thing I'd like to see get into Python.
> Thanks for picking up the ball..
>
>
> -Travis
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>




More information about the Numpy-discussion mailing list