Re: [Numpy-discussion] numpy release process, adding a compatibility test step.

2010-02-06 Thread Ralf Gommers
On Sat, Feb 6, 2010 at 6:44 PM, René Dudfield wrote: > Hi, > > may I suggest an addition to the release process... > > 'Tests against popular libraries that rely on numpy at the RC stage. > Test at least these libraries pass their numpy related tests: > matplotlib, scipy, pygame, (insert others h

Re: [Numpy-discussion] Removing datetime support for 1.4.x series ?

2010-02-06 Thread Travis Oliphant
On Feb 6, 2010, at 7:07 AM, Francesc Alted wrote: > A Saturday 06 February 2010 13:17:22 David Cournapeau escrigué: >> On Sat, Feb 6, 2010 at 4:07 PM, Travis Oliphant > > > wrote: >>> I think this plan is the least disruptive and satisfies the concerns >>> of all parties in the discussion. The o

Re: [Numpy-discussion] numpy 10x slower than native Python arrays for simple operations?

2010-02-06 Thread Pauli Virtanen
la, 2010-02-06 kello 16:21 -0500, Joseph Turian kirjoitti: > I have done some profiling, and the results are completely > counterintuitive. For simple array access operations, numpy and > array.array are 10x slower than native Python arrays. > > I am using numpy 1.3.0, the standard Ubuntu 9.03 pac

Re: [Numpy-discussion] numpy 10x slower than native Python arrays for simple operations?

2010-02-06 Thread Charles R Harris
On Sat, Feb 6, 2010 at 2:21 PM, Joseph Turian wrote: > I have done some profiling, and the results are completely > counterintuitive. For simple array access operations, numpy and > array.array are 10x slower than native Python arrays. > > I am using numpy 1.3.0, the standard Ubuntu 9.03 package.

[Numpy-discussion] numpy 10x slower than native Python arrays for simple operations?

2010-02-06 Thread Joseph Turian
I have done some profiling, and the results are completely counterintuitive. For simple array access operations, numpy and array.array are 10x slower than native Python arrays. I am using numpy 1.3.0, the standard Ubuntu 9.03 package. Why am I getting such slow access speeds? Note that for "array

Re: [Numpy-discussion] Installed NumPy and MatPlotLib in the Wrong Order. How uninstall MPL?

2010-02-06 Thread Christoph Gohlke
All the official matplotlib installers on sourceforge are bdist_wininst executables, not msi. The installer for Python 2.5 was built with Python 2.5 itself, which does not know about Windows user account control (UAC). Unless you specifically run the installer as administrator, the uninstall regist

Re: [Numpy-discussion] Unable to install Numpy

2010-02-06 Thread Vicente Soler Fraile
I am using: Python 2.6.4 (r264:75708, Oct 26 2009, 07:36:50) [MSC v.1500 64 bit (AMD64)] on win32 which seems to be a 64 bits interpreter. What should I do if want to use Numpy. Can I somehow manually install Numpy? Or else should I remove Wincom and Python 64 bits and install instead a 32

Re: [Numpy-discussion] error fromnumeric: 254 (repeat) return repeat(repeats, axis)

2010-02-06 Thread Warren Weckesser
Tom, 'mask' has 285 elements and 'delta' has 284 elements. If these are to be used as arguments of numpy.repeat(), they must be the same length. Warren Thomas Evangelidis wrote: > > Dear programmers, > > > I'm not familiar with numpy therefore I need a little help to debug > code which was no

[Numpy-discussion] error fromnumeric: 254 (repeat) return repeat(repeats, axis)

2010-02-06 Thread Thomas Evangelidis
Dear programmers, I'm not familiar with numpy therefore I need a little help to debug code which was not written by me. The lines which generate the error are the following: index = N.concatenate( (index, [len_i]) ) > delta = index[1:] - index[:-1] > return N.repeat( mas

Re: [Numpy-discussion] Installed NumPy and MatPlotLib in the Wrong Order. How uninstall MPL?

2010-02-06 Thread Alan G Isaac
On 2/6/2010 9:02 AM, Charles R Harris wrote: > I don't know if things have changed, but long ago when I was using > windows more often I found it best to delete old installations of python > when moving up to later versions. I have had multiple versions running side by side for years, with never

Re: [Numpy-discussion] Installed NumPy and MatPlotLib in the Wrong Order. How uninstall MPL?

2010-02-06 Thread josef . pktd
On Sat, Feb 6, 2010 at 9:02 AM, Charles R Harris wrote: > > > On Sat, Feb 6, 2010 at 6:15 AM, Alan G Isaac wrote: >> >> You should be able to have Matplotlib in Python 2.5 >> and in Python 2.6, no problem. >> >> But you need to get the correct installer. >> There are separate installers for diffe

Re: [Numpy-discussion] Unable to install Numpy

2010-02-06 Thread David Cournapeau
On Sat, Feb 6, 2010 at 10:54 PM, Vicente Soler Fraile wrote: > Hello, > > I try to install Numpy without success. > > Windows 7 > Python 2.6.4 > Numpy numpy-1.4.0-win32-superpack- > python2.6.exe Are you using a 32 bits python ? We only provide 32 bits installers for now on windows2,

Re: [Numpy-discussion] Installed NumPy and MatPlotLib in the Wrong Order. How uninstall MPL?

2010-02-06 Thread Charles R Harris
On Sat, Feb 6, 2010 at 6:15 AM, Alan G Isaac wrote: > You should be able to have Matplotlib in Python 2.5 > and in Python 2.6, no problem. > > But you need to get the correct installer. > There are separate installers for different Pythons. > > I don't know if things have changed, but long ago wh

[Numpy-discussion] Unable to install Numpy

2010-02-06 Thread Vicente Soler Fraile
Hello, I try to install Numpy without success. Windows 7 Python 2.6.4 Numpy numpy-1.4.0-win32-superpack-python2.6.exe The problem is that the installer does not find Python in the Windows Registry. However, I've been using python for quite a long time now. Since I really want to tr

Re: [Numpy-discussion] Removing datetime support for 1.4.x series ?

2010-02-06 Thread Darren Dale
On Sat, Feb 6, 2010 at 8:39 AM, David Cournapeau wrote: > On Sat, Feb 6, 2010 at 10:36 PM, Darren Dale wrote: >> >> I don't understand why there is any debate about what to call a >> release that breaks ABI compatibility. > > Because it means datetime support will come late (in 2.0), and Travis >

Re: [Numpy-discussion] Removing datetime support for 1.4.x series ?

2010-02-06 Thread David Cournapeau
On Sat, Feb 6, 2010 at 10:36 PM, Darren Dale wrote: > > I don't understand why there is any debate about what to call a > release that breaks ABI compatibility. Because it means datetime support will come late (in 2.0), and Travis wanted to get it early in. David

Re: [Numpy-discussion] Removing datetime support for 1.4.x series ?

2010-02-06 Thread David Cournapeau
On Sat, Feb 6, 2010 at 10:29 PM, wrote: > On Sat, Feb 6, 2010 at 8:07 AM, Francesc Alted wrote: >> A Saturday 06 February 2010 13:17:22 David Cournapeau escrigué: >>> On Sat, Feb 6, 2010 at 4:07 PM, Travis Oliphant >> wrote: >>> > I think this plan is the least disruptive and satisfies the conc

Re: [Numpy-discussion] Removing datetime support for 1.4.x series ?

2010-02-06 Thread Darren Dale
On Sat, Feb 6, 2010 at 8:29 AM, wrote: > On Sat, Feb 6, 2010 at 8:07 AM, Francesc Alted wrote: >> A Saturday 06 February 2010 13:17:22 David Cournapeau escrigué: >>> On Sat, Feb 6, 2010 at 4:07 PM, Travis Oliphant >> wrote: >>> > I think this plan is the least disruptive and satisfies the conce

Re: [Numpy-discussion] Removing datetime support for 1.4.x series ?

2010-02-06 Thread Charles R Harris
On Sat, Feb 6, 2010 at 6:29 AM, wrote: > On Sat, Feb 6, 2010 at 8:07 AM, Francesc Alted > wrote: > > A Saturday 06 February 2010 13:17:22 David Cournapeau escrigué: > >> On Sat, Feb 6, 2010 at 4:07 PM, Travis Oliphant > > > wrote: > >> > I think this plan is the least disruptive and satisfies t

Re: [Numpy-discussion] Removing datetime support for 1.4.x series ?

2010-02-06 Thread josef . pktd
On Sat, Feb 6, 2010 at 8:07 AM, Francesc Alted wrote: > A Saturday 06 February 2010 13:17:22 David Cournapeau escrigué: >> On Sat, Feb 6, 2010 at 4:07 PM, Travis Oliphant > wrote: >> > I think this plan is the least disruptive and satisfies the concerns >> > of all parties in the discussion.  The

Re: [Numpy-discussion] Removing datetime support for 1.4.x series ?

2010-02-06 Thread Charles R Harris
On Sat, Feb 6, 2010 at 6:07 AM, Francesc Alted wrote: > A Saturday 06 February 2010 13:17:22 David Cournapeau escrigué: > > On Sat, Feb 6, 2010 at 4:07 PM, Travis Oliphant > wrote: > > > I think this plan is the least disruptive and satisfies the concerns > > > of all parties in the discussion.

Re: [Numpy-discussion] Installed NumPy and MatPlotLib in the Wrong Order. How uninstall MPL?

2010-02-06 Thread Alan G Isaac
You should be able to have Matplotlib in Python 2.5 and in Python 2.6, no problem. But you need to get the correct installer. There are separate installers for different Pythons. Alan Isaac ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org ht

Re: [Numpy-discussion] Removing datetime support for 1.4.x series ?

2010-02-06 Thread Francesc Alted
A Saturday 06 February 2010 13:17:22 David Cournapeau escrigué: > On Sat, Feb 6, 2010 at 4:07 PM, Travis Oliphant wrote: > > I think this plan is the least disruptive and satisfies the concerns > > of all parties in the discussion. The other plans that have been > > proposed do not address my co

Re: [Numpy-discussion] Removing datetime support for 1.4.x series ?

2010-02-06 Thread David Cournapeau
On Sat, Feb 6, 2010 at 4:07 PM, Travis Oliphant wrote: > Given all the discussions that have happened.  I want to be clear > about my proposal.  It is: > > * 1.4.1 is an ABI break including datetime, hasobject, and a few place- > holders in the structures > * no future ABI breakages until after th

Re: [Numpy-discussion] Installed NumPy and MatPlotLib in the Wrong Order. How uninstall MPL?

2010-02-06 Thread Wayne Watson
stuck = placed. I'm pretty sure I used an msi file. I've brought this topic up in 3 forums where I would have thought people knew the answer. Yours is the first answer. I would have guessed that anyone dealing libraries would have known the answer. Nor have I found anything in two Python book

[Numpy-discussion] numpy release process, adding a compatibility test step.

2010-02-06 Thread René Dudfield
Hi, may I suggest an addition to the release process... 'Tests against popular libraries that rely on numpy at the RC stage. Test at least these libraries pass their numpy related tests: matplotlib, scipy, pygame, (insert others here?). The release manage should ask the mailing list for people t