Re: [Numpy-discussion] Masked Array for NumPy 1.7

2012-05-19 Thread Travis Oliphant
On May 20, 2012, at 12:15 AM, Charles R Harris wrote: > > > On Sat, May 19, 2012 at 10:48 PM, Travis Oliphant wrote: > > > > My own plan for the near term would be as follows: > > > > 1) Put in the experimental option and get the 1.7 release out. This gets us > > through the next couple of mo

Re: [Numpy-discussion] Masked Array for NumPy 1.7

2012-05-19 Thread Charles R Harris
On Sat, May 19, 2012 at 10:48 PM, Travis Oliphant wrote: > > > > My own plan for the near term would be as follows: > > > > 1) Put in the experimental option and get the 1.7 release out. This gets > us through the next couple of months and keeps things moving. > > > > The "experimental" option doe

Re: [Numpy-discussion] Separating out the maskna code

2012-05-19 Thread Travis Oliphant
Wow, Nathaniel. This looks like a nice piece of tedious work. I have not reviewed it in detail, but in general I would be very supportive of your plan to commit this to master, make a 1.7 release (without the ReduceWrapper) function and then work on the masked array / ndarray separation pl

Re: [Numpy-discussion] Masked Array for NumPy 1.7

2012-05-19 Thread Travis Oliphant
On May 19, 2012, at 10:21 AM, Mark Wiebe wrote: > On Sat, May 19, 2012 at 10:00 AM, David Cournapeau wrote: > On Sat, May 19, 2012 at 3:17 PM, Charles R Harris > wrote: > On Fri, May 18, 2012 at 3:47 PM, Travis Oliphant wrote: > Hey all, > > After reading all the discussion around masked arr

Re: [Numpy-discussion] Masked Array for NumPy 1.7

2012-05-19 Thread Travis Oliphant
>> My own plan for the near term would be as follows: >> >> 1) Put in the experimental option and get the 1.7 release out. This gets us >> through the next couple of months and keeps things moving. > > +1 on not blocking the release while we invent+implement yet another > experimental API. Nobod

Re: [Numpy-discussion] Masked Array for NumPy 1.7

2012-05-19 Thread Travis Oliphant
> > My own plan for the near term would be as follows: > > 1) Put in the experimental option and get the 1.7 release out. This gets us > through the next couple of months and keeps things moving. > The "experimental" option does not solve the problem which is that the ndarray object now has m

Re: [Numpy-discussion] Masked Array for NumPy 1.7

2012-05-19 Thread Travis Oliphant
On May 19, 2012, at 10:00 AM, David Cournapeau wrote: > > > On Sat, May 19, 2012 at 3:17 PM, Charles R Harris > wrote: > > > On Fri, May 18, 2012 at 3:47 PM, Travis Oliphant wrote: > Hey all, > > After reading all the discussion around masked arrays and getting input from > as many peopl

Re: [Numpy-discussion] Masked Array for NumPy 1.7

2012-05-19 Thread Travis Oliphant
On May 19, 2012, at 9:17 AM, Charles R Harris wrote: > > > On Fri, May 18, 2012 at 3:47 PM, Travis Oliphant wrote: > Hey all, > > After reading all the discussion around masked arrays and getting input from > as many people as possible, it is clear that there is still disagreement > about w

Re: [Numpy-discussion] Internationalization of numpy/scipy docstrings...

2012-05-19 Thread Tim Cera
On Sat, May 19, 2012 at 8:16 PM, Nathaniel Smith wrote: > help() just returns the __doc__ attribute, but a large number of numpy's > __doc__ attributes are set up by code at import time, so in principle even > these could be run through gettext pretty easily. > I didn't know that. I suggested mo

Re: [Numpy-discussion] Internationalization of numpy/scipy docstrings...

2012-05-19 Thread Nathaniel Smith
On May 19, 2012 11:04 PM, "Tim Cera" wrote: > A user would then install a language kit, maybe something like scikits and access the translated docstring with a new 'np.info'. As near as I can figure, Python 'help' command can't be replaced by something else, so 'help' would always display the Eng

[Numpy-discussion] Internationalization of numpy/scipy docstrings...

2012-05-19 Thread Tim Cera
I have thought for a long time that it would be nice to have numpy/scipy docs in multiple languages. I didn't have any idea how to do it until I saw http://sphinx.pocoo.org/intl.html. The gettext builder which is a requirement to make this happen is relatively new to sphinx. Outline of above ap

[Numpy-discussion] Separating out the maskna code

2012-05-19 Thread Nathaniel Smith
Hi all, Since Mark's original missingdata branch made so many changes, I figured it would be a useful exercise to figure out what code in master is actually related to masked arrays, and which isn't. The easiest way seemed to be to delete the new fields, then keep removing any code that depended o

Re: [Numpy-discussion] Masked Array for NumPy 1.7

2012-05-19 Thread Nathaniel Smith
On Sat, May 19, 2012 at 5:45 PM, Charles R Harris wrote: > > > On Sat, May 19, 2012 at 10:02 AM, Charles R Harris > wrote: >> >> >> >> On Sat, May 19, 2012 at 9:21 AM, Mark Wiebe wrote: >>> >>> On Sat, May 19, 2012 at 10:00 AM, David Cournapeau >>> wrote: On Sat, May 19, 2012 at 3:17

Re: [Numpy-discussion] Masked Array for NumPy 1.7

2012-05-19 Thread Charles R Harris
On Sat, May 19, 2012 at 10:02 AM, Charles R Harris < charlesr.har...@gmail.com> wrote: > > > On Sat, May 19, 2012 at 9:21 AM, Mark Wiebe wrote: > >> On Sat, May 19, 2012 at 10:00 AM, David Cournapeau wrote: >> >>> On Sat, May 19, 2012 at 3:17 PM, Charles R Harris < >>> charlesr.har...@gmail.com>

Re: [Numpy-discussion] Masked Array for NumPy 1.7

2012-05-19 Thread Charles R Harris
On Sat, May 19, 2012 at 9:21 AM, Mark Wiebe wrote: > On Sat, May 19, 2012 at 10:00 AM, David Cournapeau wrote: > >> On Sat, May 19, 2012 at 3:17 PM, Charles R Harris < >> charlesr.har...@gmail.com> wrote: >> >>> On Fri, May 18, 2012 at 3:47 PM, Travis Oliphant wrote: >>> Hey all, A

Re: [Numpy-discussion] Masked Array for NumPy 1.7

2012-05-19 Thread Nathaniel Smith
On Sat, May 19, 2012 at 4:21 PM, Mark Wiebe wrote: > The motivation behind splitting the mask out into a separate ndmasked is > primarily so that pre-existing code will not silently function on NA-masked > arrays and produce incorrect results. This centres around using PyArray_DATA > to get at the

Re: [Numpy-discussion] Masked Array for NumPy 1.7

2012-05-19 Thread Mark Wiebe
On Sat, May 19, 2012 at 10:00 AM, David Cournapeau wrote: > On Sat, May 19, 2012 at 3:17 PM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> On Fri, May 18, 2012 at 3:47 PM, Travis Oliphant wrote: >> >>> Hey all, >>> >>> After reading all the discussion around masked arrays and getting

Re: [Numpy-discussion] Masked Array for NumPy 1.7

2012-05-19 Thread David Cournapeau
On Sat, May 19, 2012 at 3:17 PM, Charles R Harris wrote: > > > On Fri, May 18, 2012 at 3:47 PM, Travis Oliphant wrote: > >> Hey all, >> >> After reading all the discussion around masked arrays and getting input >> from as many people as possible, it is clear that there is still >> disagreement ab

Re: [Numpy-discussion] Masked Array for NumPy 1.7

2012-05-19 Thread Charles R Harris
On Fri, May 18, 2012 at 3:47 PM, Travis Oliphant wrote: > Hey all, > > After reading all the discussion around masked arrays and getting input > from as many people as possible, it is clear that there is still > disagreement about what to do, but there have been some fruitful > discussions that en

Re: [Numpy-discussion] Masked Array for NumPy 1.7

2012-05-19 Thread Dag Sverre Seljebotn
Travis Oliphant wrote: >Hey all, > >After reading all the discussion around masked arrays and getting input >from as many people as possible, it is clear that there is still >disagreement about what to do, but there have been some fruitful >discussions that ensued. > >This isn't really new as

Re: [Numpy-discussion] python import question

2012-05-19 Thread Chao YUE
I forgot whether I installed numpy 1.5.1 by esay_install or manually. But anyway, I had the same issue with you that I cannot use pip uninstall numpy to remove 1.5.1. chao 2012/5/19 Tim Cera > > > On Fri, May 18, 2012 at 5:49 PM, Chao YUE wrote: > >> Previously I have installed numpy 1.5.1. an