Re: [Numpy-discussion] patch for new mgrid / ogrid functionality

2008-09-15 Thread Stéfan van der Walt
2008/9/15 Gael Varoquaux <[EMAIL PROTECTED]>: >> I agree. But that means that we can only include it in 1.3 (which is >> currently being developed on trunk, IIRC?). > > I'd prefer not seeing any non-backwards-compatible API change before 2.0. > I think we would be breaking the contract that we hav

Re: [Numpy-discussion] patch for new mgrid / ogrid functionality

2008-09-15 Thread Gael Varoquaux
On Mon, Sep 15, 2008 at 12:28:42PM +0200, Stéfan van der Walt wrote: > 2008/9/15 David M. Kaplan <[EMAIL PROTECTED]>: > > This ability to mesh non-numerical arrays has lots of uses and I think > > the change to a list will be transparent for most users who never use > > the packed array. Also, thi

Re: [Numpy-discussion] patch for new mgrid / ogrid functionality

2008-09-15 Thread David M. Kaplan
2008/6/16 ricardo soares <[EMAIL PROTECTED]> > Get a $50 FREE Gift today and take advantage of our best limited time > offer! > After installing the software, simply register, make your first > deposit of at least $10, and we will add $50 in hassle-free bonus > chips to your player account. > > N

Re: [Numpy-discussion] patch for new mgrid / ogrid functionality

2008-09-14 Thread David M. Kaplan
Hi, On Sat, 2008-09-13 at 12:00 -0500, [EMAIL PROTECTED] wrote: > St?fan van der Walt wrote: > > Hey all, > > > > David Kaplan implemented a generalised ogrid/mgrid, and would like > to > > have some feedback. See > > > > > http://projects.scipy.org/pipermail/numpy-discussion/2008-August/036691.h

Re: [Numpy-discussion] patch for new mgrid / ogrid functionality

2008-09-13 Thread Travis E. Oliphant
Stéfan van der Walt wrote: > 2008/9/13 Travis E. Oliphant <[EMAIL PROTECTED]>: > >> Generally, it is O.K. except that he changes the output from a numpy >> array to a list of numpy arrays. This is a small change, but it is an >> API change. I'm not sure why he found it necessary to do that, b

Re: [Numpy-discussion] patch for new mgrid / ogrid functionality

2008-09-13 Thread Stéfan van der Walt
2008/9/13 Travis E. Oliphant <[EMAIL PROTECTED]>: > Generally, it is O.K. except that he changes the output from a numpy > array to a list of numpy arrays. This is a small change, but it is an > API change. I'm not sure why he found it necessary to do that, but it > would be easier to apply the

Re: [Numpy-discussion] patch for new mgrid / ogrid functionality

2008-09-13 Thread Travis E. Oliphant
Stéfan van der Walt wrote: > Hey all, > > David Kaplan implemented a generalised ogrid/mgrid, and would like to > have some feedback. See > > http://projects.scipy.org/pipermail/numpy-discussion/2008-August/036691.html > > for his original email and attachment. > > If no one objects to such functi

Re: [Numpy-discussion] patch for new mgrid / ogrid functionality

2008-09-12 Thread Stéfan van der Walt
Hey all, David Kaplan implemented a generalised ogrid/mgrid, and would like to have some feedback. See http://projects.scipy.org/pipermail/numpy-discussion/2008-August/036691.html for his original email and attachment. If no one objects to such functionality, I shall review the patch and apply

[Numpy-discussion] patch for new mgrid / ogrid functionality

2008-08-15 Thread David M. Kaplan
Hi, A while back, I sent some changes to index_tricks.py that would allow mgrid and ogrid to mesh things other than slices. For example: >>> mgrid[['a','b'],[float,int],:3] [array([[['a', 'a', 'a'], ['a', 'a', 'a']], [['b', 'b', 'b'], ['b', 'b', 'b']]], dtype='|S1'