Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Alan G Isaac
> On 15/04/2008, Alan G Isaac <[EMAIL PROTECTED]> wrote: >> I thought the context of the discussion had become something >> like this: there is no reason for the matrix interface to >> deviate from the array interface except as needed to provide >> specific desired functionality. Essentially,

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Alan G Isaac
On Tue, 15 Apr 2008, Anne Archibald apparently wrote: > This discussion risks going around in circles. Write up > your proposed solutions, with example code, in PEP style, > here: > http://www.scipy.org/ProposedEnhancements Done: http://www.scipy.org/MatrixIndexing I am a NumPy user, not a Nu

Re: [Numpy-discussion] Win32 installer: please test it

2008-04-15 Thread Damian Eads
David Cournapeau wrote: > Jarrod Millman wrote: >> Hello, >> >> David Cournapeau has prepared a new win32 installer, which is aimed at >> solving the recurring problem of non working atlas on different sets >> of CPU. This installer simply checks which cpu you have, and installs >> the appropriate

Re: [Numpy-discussion] Py3K

2008-04-15 Thread Fernando Perez
On Tue, Apr 15, 2008 at 1:27 PM, Charles R Harris <[EMAIL PROTECTED]> wrote: > Oh, and making the transition will be made a lot easier by having a complete > set of tests. Getting the tests and documentation into good state might be > the best focus for our 1.2 effort. +1 Bonus points for whoeve

Re: [Numpy-discussion] Generically Creating Views of Equal Dimensions

2008-04-15 Thread Alexander Michael
On Tue, Apr 15, 2008 at 3:38 PM, Robert Kern <[EMAIL PROTECTED]> wrote: > On Tue, Apr 15, 2008 at 9:54 AM, Alexander Michael <[EMAIL PROTECTED]> wrote: > > Is there an already existing method to create views that add as many > > dimensions as required to bring a collection of arrays to the same

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Travis E. Oliphant
Sebastian Haase wrote: > On Tue, Apr 15, 2008 at 9:41 AM, Robert Kern <[EMAIL PROTECTED]> wrote: > >> On Tue, Apr 15, 2008 at 2:31 AM, Jon Wright <[EMAIL PROTECTED]> wrote: >> > Alan G Isaac wrote: >> > > >> > > Will matrix behavior change in 1.1, as discussed from time >> > > to time? P

Re: [Numpy-discussion] Py3K

2008-04-15 Thread Charles R Harris
On Tue, Apr 15, 2008 at 2:23 PM, Charles R Harris <[EMAIL PROTECTED]> wrote: > > > On Tue, Apr 15, 2008 at 1:21 PM, Bruce Southey <[EMAIL PROTECTED]> wrote: > > > Hi, > > You probably should start with the 2to3.py tool (see link at > > http://www.python.org/download/releases/3.0/). > > > > Looks l

Re: [Numpy-discussion] Py3K

2008-04-15 Thread Charles R Harris
On Tue, Apr 15, 2008 at 1:21 PM, Bruce Southey <[EMAIL PROTECTED]> wrote: > Hi, > You probably should start with the 2to3.py tool (see link at > http://www.python.org/download/releases/3.0/). > Looks like a lot of the changes aren't at all backward compatible. The new style print, for instance, d

Re: [Numpy-discussion] Generically Creating Views of Equal Dimensions

2008-04-15 Thread Robert Kern
On Tue, Apr 15, 2008 at 9:54 AM, Alexander Michael <[EMAIL PROTECTED]> wrote: > Is there an already existing method to create views that add as many > dimensions as required to bring a collection of arrays to the same > dimensionality by adding the appropriate number of numpy.newaxis's to > the

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Anne Archibald
On 15/04/2008, Jon Wright <[EMAIL PROTECTED]> wrote: > > On 15/04/2008, Alan G Isaac <[EMAIL PROTECTED]> wrote: > > ... > > > The proposal on the table is to remove an unneeded (and > > unwanted) deviation of the matrix API from the ndarray API. > > ... > > How about writing up the changes need

Re: [Numpy-discussion] Py3K

2008-04-15 Thread Bruce Southey
Hi, You probably should start with the 2to3.py tool (see link at http://www.python.org/download/releases/3.0/). Bruce On Tue, Apr 15, 2008 at 2:16 PM, Jon Wright <[EMAIL PROTECTED]> wrote: > Charles R Harris wrote: > > > Jon Wright wrote: > > > > I tried to build numpy from svn using python

Re: [Numpy-discussion] Py3K

2008-04-15 Thread Jon Wright
Charles R Harris wrote: > Jon Wright wrote: > > I tried to build numpy from svn using python-3.0a4 from python.org > and > noticed there are some issues (print, except syntax, distutils magic). > Has anyone been through this already? I actually want to start goi

Re: [Numpy-discussion] Py3K

2008-04-15 Thread Charles R Harris
On Tue, Apr 15, 2008 at 12:22 PM, Jon Wright <[EMAIL PROTECTED]> wrote: > I tried to build numpy from svn using python-3.0a4 from python.org and > noticed there are some issues (print, except syntax, distutils magic). > Has anyone been through this already? I actually want to start going > through

[Numpy-discussion] Py3K

2008-04-15 Thread Jon Wright
I tried to build numpy from svn using python-3.0a4 from python.org and noticed there are some issues (print, except syntax, distutils magic). Has anyone been through this already? I actually want to start going through my own code, but I need numpy before I get started... Thanks, Jon

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Jon Wright
> On 15/04/2008, Alan G Isaac <[EMAIL PROTECTED]> wrote: ... > The proposal on the table is to remove an unneeded (and > unwanted) deviation of the matrix API from the ndarray API. ... How about writing up the changes needed PEP style on the wiki? > The fix appears to be a very small change in

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Stéfan van der Walt
On 15/04/2008, Alan G Isaac <[EMAIL PROTECTED]> wrote: > I thought the context of the discussion had become something > like this: there is no reason for the matrix interface to > deviate from the array interface except as needed to provide > specific desired functionality. Essentially, > >

[Numpy-discussion] Generically Creating Views of Equal Dimensions

2008-04-15 Thread Alexander Michael
Is there an already existing method to create views that add as many dimensions as required to bring a collection of arrays to the same dimensionality by adding the appropriate number of numpy.newaxis's to the ends? For example: In [1]: a = numpy.array([1, 2, 3, 4]) In [2]: b = numpy.array([[1,10]

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Alan G Isaac
> On 15/04/2008, Alan G Isaac <[EMAIL PROTECTED]> wrote: >> Fixing this has been under discussion for the 1.1 >> release >> for some time now. To my recollection, no users of matrices >> objected, and the abstract objections from non-users >> subsided. On Tue, 15 Apr 2008, Stéfan van der W

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Stéfan van der Walt
On 15/04/2008, Alan G Isaac <[EMAIL PROTECTED]> wrote: > On Tue, 15 Apr 2008, Jarrod Millman apparently wrote: > Fixing this has been under discussion for the 1.1 release > for some time now. To my recollection, no users of matrices > objected, and the abstract objections from non-users > subs

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Charles Doutriaux
As a developper for a community that's using massively the old numeric maksed arrays (MA), I'll just add my 2 cents worth... I think what's in the trunk right now (at least last week) is ok, the new ma, with the oldnumeric.ma This allow to still be backward compatible for a while and change our

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Alan G Isaac
On Tue, 15 Apr 2008, Jarrod Millman apparently wrote: > However, when our current API is "broken" we should be > open to the possibility that in may need to be fixed. > Functions with anomalous interfaces seem like a good > example of candidates that would be worth modifying. > However, we ne

Re: [Numpy-discussion] Win32 installer: please test it

2008-04-15 Thread Peter Creasey
Yes, I am one of those users with crashes in numpy 1.4. Your build seems to pass for me. For reference my machine is Windows XP, Intel Xeon 5140 - Numpy is installed in C:\Python25\lib\site-packages\numpy Numpy version 1.0.5.dev5008 Python version 2.5.2 (r252:60911, Feb 21 2008, 13

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Christopher Hanley
Sebastian Haase wrote: > How about releasing 1.0.5 without the new masked array, > i.e. > 1. put back the old masked array and release as 1.0.5 > 2. then release 1.1.0 with the new masked array > 3. start working on 1.2 by unifying the arguments, "np.resize", and > other things alike. > > --Sebast

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Gael Varoquaux
On Tue, Apr 15, 2008 at 01:38:45AM -0500, Robert Kern wrote: > > Given that the next release will be 1.1, I think it is reasonable to > > include a few additional API breaks. > -lots. I don't want to break API compatibility again no matter what > version number we bump to, 1.1, 2.0, or 24. It is

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Sebastian Haase
On Tue, Apr 15, 2008 at 10:59 AM, Jarrod Millman <[EMAIL PROTECTED]> wrote: > On Tue, Apr 15, 2008 at 1:35 AM, David Cournapeau > > <[EMAIL PROTECTED]> wrote: > > > Sebastian Haase wrote: > > > How about releasing 1.0.5 without the new masked array, > > > i.e. > > > 1. put back the old masked

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Jarrod Millman
On Tue, Apr 15, 2008 at 1:35 AM, David Cournapeau <[EMAIL PROTECTED]> wrote: > Sebastian Haase wrote: > > How about releasing 1.0.5 without the new masked array, > > i.e. > > 1. put back the old masked array and release as 1.0.5 > > Now that it is done, going back will be a lot of work. It woul

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread David Cournapeau
Sebastian Haase wrote: > > > How about releasing 1.0.5 without the new masked array, > i.e. > 1. put back the old masked array and release as 1.0.5 Now that it is done, going back will be a lot of work. It would be great if someone were willing to do it, but who ? cheers, David

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Sebastian Haase
On Tue, Apr 15, 2008 at 9:56 AM, David Cournapeau <[EMAIL PROTECTED]> wrote: > Sebastian Haase wrote: > > > > So, to summarize one more time: > > """ > > What used to be talked about as "1.1" will now become "1.2" --- > > and "1.0.5" will be "1.1" > > """ > > > > Did I get this right !? >

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Jarrod Millman
On Tue, Apr 15, 2008 at 12:56 AM, David Cournapeau <[EMAIL PROTECTED]> wrote: > > Please keep in mind that there are a number of these "awkward" > > "wrong-default" arguments. I was hoping these would be unified [e.g. > > always same default, axis=None] very soon -- that is in 1.1. > > Is thi

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread David Cournapeau
Sebastian Haase wrote: > > So, to summarize one more time: > """ > What used to be talked about as "1.1" will now become "1.2" --- > and "1.0.5" will be "1.1" > """ > > Did I get this right !? > > I'm curious to know _which_ were the changes that break the API. I > thought all additions like "axis=

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Sebastian Haase
On Tue, Apr 15, 2008 at 9:41 AM, Robert Kern <[EMAIL PROTECTED]> wrote: > On Tue, Apr 15, 2008 at 2:31 AM, Jon Wright <[EMAIL PROTECTED]> wrote: > > Alan G Isaac wrote: > > > > > > Will matrix behavior change in 1.1, as discussed from time > > > to time? Perhaps it just takes a very small c

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Robert Kern
On Tue, Apr 15, 2008 at 2:31 AM, Jon Wright <[EMAIL PROTECTED]> wrote: > Alan G Isaac wrote: > > > > Will matrix behavior change in 1.1, as discussed from time > > to time? Perhaps it just takes a very small change in __getitem__: > > http://www.mail-archive.com/numpy-discussion@scipy.org/msg0

Re: [Numpy-discussion] Release of NumPy

2008-04-15 Thread Jon Wright
Alan G Isaac wrote: > > Will matrix behavior change in 1.1, as discussed from time > to time? Perhaps it just takes a very small change in __getitem__: > http://www.mail-archive.com/numpy-discussion@scipy.org/msg07363.html> Quoting from: http://mail.python.org/pipermail/python-dev/2008-March/07