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

2006-07-12 Thread Karol Langner
On Wednesday 12 July 2006 16:00, Thomas Heller wrote: > Karol Langner schrieb: > > On Wednesday 12 July 2006 13:29, Thomas Heller wrote: > >> Sasha schrieb: > >> > I had similar hopes when I submited the array interface patch > >> >

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

2006-07-12 Thread Thomas Heller
Karol Langner schrieb: > On Wednesday 12 July 2006 13:29, Thomas Heller wrote: >> Sasha schrieb: >> > I had similar hopes when I submited the array interface patch >> > > >id=5470&atid=305470> and announced it on python-dev

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

2006-07-12 Thread Karol Langner
On Wednesday 12 July 2006 13:29, Thomas Heller wrote: > Sasha schrieb: > > I had similar hopes when I submited the array interface patch > > >id=5470&atid=305470> and announced it on python-dev > >

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

2006-07-12 Thread Thomas Heller
Sasha schrieb: > I had similar hopes when I submited the array interface patch > > and announced it on python-dev > . > > I am still waiti

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

2006-07-11 Thread Sasha
I had similar hopes when I submited the array interface patch and announced it on python-dev . I am still waiting for anyone to comment on

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

2006-07-11 Thread Travis Oliphant
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 subclas

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

2006-07-11 Thread Filip Wasilewski
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.activestat