Re: [Numpy-discussion] 1.7.1

2013-02-26 Thread Charles R Harris
On Tue, Feb 26, 2013 at 5:43 PM, Ondřej Čertík wrote: > On Tue, Feb 26, 2013 at 1:21 PM, Charles R Harris > wrote: > > > > > > On Tue, Feb 26, 2013 at 2:03 PM, Ralf Gommers > > wrote: > >> > >> > >> > >> > >> On Tue, Feb 26, 2013 at 7:47 PM, Charles R Harris > >> wrote: > >>> > >>> When should

Re: [Numpy-discussion] 1.7.1

2013-02-26 Thread Ondřej Čertík
On Tue, Feb 26, 2013 at 1:21 PM, Charles R Harris wrote: > > > On Tue, Feb 26, 2013 at 2:03 PM, Ralf Gommers > wrote: >> >> >> >> >> On Tue, Feb 26, 2013 at 7:47 PM, Charles R Harris >> wrote: >>> >>> When should we put out 1.7.1? Discuss ;) >> >> >> When we have X times more fixes in maintenanc

Re: [Numpy-discussion] 1.7.1

2013-02-26 Thread Ralf Gommers
On Tue, Feb 26, 2013 at 10:54 PM, Charles R Harris < charlesr.har...@gmail.com> wrote: > > > On Tue, Feb 26, 2013 at 2:46 PM, Nathaniel Smith wrote: > >> On Tue, Feb 26, 2013 at 9:21 PM, Charles R Harris >> wrote: >> > >> > >> > On Tue, Feb 26, 2013 at 2:03 PM, Ralf Gommers >> > wrote: >> >> >>

[Numpy-discussion] numpy.scipy.org giving 404 error

2013-02-26 Thread Peter Cock
Hello all, http://numpy.scipy.org is giving a GitHub 404 error. As this used to be a widely used URL for the project, and likely appears in many printed references, could it be fixed to point to or redirect to the (relatively new) http://www.numpy.org site please? Thanks, Peter

Re: [Numpy-discussion] 1.7.1

2013-02-26 Thread Charles R Harris
On Tue, Feb 26, 2013 at 2:46 PM, Nathaniel Smith wrote: > On Tue, Feb 26, 2013 at 9:21 PM, Charles R Harris > wrote: > > > > > > On Tue, Feb 26, 2013 at 2:03 PM, Ralf Gommers > > wrote: > >> > >> > >> > >> > >> On Tue, Feb 26, 2013 at 7:47 PM, Charles R Harris > >> wrote: > >>> > >>> When shou

Re: [Numpy-discussion] 1.7.1

2013-02-26 Thread Nathaniel Smith
On Tue, Feb 26, 2013 at 9:21 PM, Charles R Harris wrote: > > > On Tue, Feb 26, 2013 at 2:03 PM, Ralf Gommers > wrote: >> >> >> >> >> On Tue, Feb 26, 2013 at 7:47 PM, Charles R Harris >> wrote: >>> >>> When should we put out 1.7.1? Discuss ;) >> >> >> When we have X times more fixes in maintenanc

Re: [Numpy-discussion] 1.7.1

2013-02-26 Thread Charles R Harris
On Tue, Feb 26, 2013 at 2:03 PM, Ralf Gommers wrote: > > > > On Tue, Feb 26, 2013 at 7:47 PM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> When should we put out 1.7.1? Discuss ;) >> > > When we have X times more fixes in maintenance/1.7.x than the one commit > with a one-liner fix

Re: [Numpy-discussion] [EXTERNAL] swig interface file (numpy.i) warning

2013-02-26 Thread Bill Spotz
So the difference is that I was wanting to make changes in the git repository that is at version 1.8. I would expect it to still work, though. I can take a look at the scipy issue. -Bill On Feb 26, 2013, at 1:41 PM, Ralf Gommers wrote: > On Mon, Feb 25, 2013 at 6:12 AM, Bill Spotz wrote: > I

Re: [Numpy-discussion] 1.7.1

2013-02-26 Thread Ralf Gommers
On Tue, Feb 26, 2013 at 7:47 PM, Charles R Harris wrote: > When should we put out 1.7.1? Discuss ;) > When we have X times more fixes in maintenance/1.7.x than the one commit with a one-liner fix that we have now. Where X is >= 5 at least, unless there's a very high prio fix that needs releasing

Re: [Numpy-discussion] [EXTERNAL] swig interface file (numpy.i) warning

2013-02-26 Thread Ralf Gommers
On Mon, Feb 25, 2013 at 6:12 AM, Bill Spotz wrote: > I wanted to take a stab at updating numpy.i to not use deprecated NumPy > C/API code. Nothing in the git logs indicates this has already been done. > I added > > #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION > > to numpy.i right before it

Re: [Numpy-discussion] drawing the line

2013-02-26 Thread Alan G Isaac
On 2/26/2013 1:11 PM, josef.p...@gmail.com wrote: > Alan was in favor of the dot method I still really like this, and it probably violates any simple rule for drawing the line. Nevertheless it would be nice to have some principle(s) other than the squeaky wheel principle for thinking about such

Re: [Numpy-discussion] drawing the line (was: Adding .abs() method to the array object)

2013-02-26 Thread josef . pktd
On Tue, Feb 26, 2013 at 1:11 PM, wrote: > On Tue, Feb 26, 2013 at 12:33 PM, eat wrote: >> Huh, >> >> On Tue, Feb 26, 2013 at 5:03 PM, wrote: >>> >>> On Tue, Feb 26, 2013 at 9:39 AM, Benjamin Root wrote: >>> > >>> > >>> > On Mon, Feb 25, 2013 at 8:23 PM, Alan G Isaac >>> > wrote: >>> >> >>> >>

Re: [Numpy-discussion] drawing the line (was: Adding .abs() method to the array object)

2013-02-26 Thread josef . pktd
On Tue, Feb 26, 2013 at 12:33 PM, eat wrote: > Huh, > > On Tue, Feb 26, 2013 at 5:03 PM, wrote: >> >> On Tue, Feb 26, 2013 at 9:39 AM, Benjamin Root wrote: >> > >> > >> > On Mon, Feb 25, 2013 at 8:23 PM, Alan G Isaac >> > wrote: >> >> >> >> I'm hoping this discussion will return to the drawing

Re: [Numpy-discussion] drawing the line (was: Adding .abs() method to the array object)

2013-02-26 Thread eat
Huh, On Tue, Feb 26, 2013 at 5:03 PM, wrote: > On Tue, Feb 26, 2013 at 9:39 AM, Benjamin Root wrote: > > > > > > On Mon, Feb 25, 2013 at 8:23 PM, Alan G Isaac > wrote: > >> > >> I'm hoping this discussion will return to the drawing the line question. > >> > >> > http://stackoverflow.com/questi

Re: [Numpy-discussion] drawing the line (was: Adding .abs() method to the array object)

2013-02-26 Thread josef . pktd
On Tue, Feb 26, 2013 at 9:39 AM, Benjamin Root wrote: > > > On Mon, Feb 25, 2013 at 8:23 PM, Alan G Isaac wrote: >> >> I'm hoping this discussion will return to the drawing the line question. >> >> http://stackoverflow.com/questions/8108688/in-python-when-should-i-use-a-function-instead-of-a-meth

Re: [Numpy-discussion] drawing the line (was: Adding .abs() method to the array object)

2013-02-26 Thread Benjamin Root
On Mon, Feb 25, 2013 at 8:23 PM, Alan G Isaac wrote: > I'm hoping this discussion will return to the drawing the line question. > > http://stackoverflow.com/questions/8108688/in-python-when-should-i-use-a-function-instead-of-a-method > > Alan Isaac > Proposed line: Reduction methods only. Disc

Re: [Numpy-discussion] Adding .abs() method to the array object

2013-02-26 Thread Robert Kern
On Tue, Feb 26, 2013 at 12:11 AM, Charles R Harris wrote: > > On Sat, Feb 23, 2013 at 1:33 PM, Robert Kern wrote: >> >> On Sat, Feb 23, 2013 at 7:25 PM, Nathaniel Smith wrote: >> > On Sat, Feb 23, 2013 at 3:38 PM, Till Stensitzki >> > wrote: >> >> Hello, >> >> i know that the array object is al

Re: [Numpy-discussion] What should np.ndarray.__contains__ do

2013-02-26 Thread Nathaniel Smith
On Tue, Feb 26, 2013 at 10:21 AM, Sebastian Berg wrote: > On Mon, 2013-02-25 at 16:33 +, Nathaniel Smith wrote: >> On Mon, Feb 25, 2013 at 3:10 PM, Sebastian Berg >> wrote: >> > Hello all, >> > >> > currently the `__contains__` method or the `in` operator on arrays, does >> > not return what

Re: [Numpy-discussion] Adding .abs() method to the array object

2013-02-26 Thread Sebastian Berg
On Tue, 2013-02-26 at 11:16 +0100, Todd wrote: > On Tue, Feb 26, 2013 at 10:58 AM, Sebastian Berg > wrote: > On Mon, 2013-02-25 at 22:04 -0500, josef.p...@gmail.com wrote: > > On Mon, Feb 25, 2013 at 9:58 PM, > wrote: > > > On Mon, Feb 25, 2013 at 9:20 PM, Sebasti

Re: [Numpy-discussion] What should np.ndarray.__contains__ do

2013-02-26 Thread Sebastian Berg
On Mon, 2013-02-25 at 16:33 +, Nathaniel Smith wrote: > On Mon, Feb 25, 2013 at 3:10 PM, Sebastian Berg > wrote: > > Hello all, > > > > currently the `__contains__` method or the `in` operator on arrays, does > > not return what the user would expect when in the operation `a in b` the > > `a`

[Numpy-discussion] GSOC 2013

2013-02-26 Thread Todd
Is numpy planning to participate in GSOC this year, either on their own or as a part of another group? If so, should we start trying to get some project suggestions together? ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.

Re: [Numpy-discussion] Adding .abs() method to the array object

2013-02-26 Thread Todd
On Tue, Feb 26, 2013 at 10:58 AM, Sebastian Berg wrote: > On Mon, 2013-02-25 at 22:04 -0500, josef.p...@gmail.com wrote: > > On Mon, Feb 25, 2013 at 9:58 PM, wrote: > > > On Mon, Feb 25, 2013 at 9:20 PM, Sebastian Berg > > > wrote: > > >> On Mon, 2013-02-25 at 10:50 -0500, Skipper Seabold wrot

Re: [Numpy-discussion] Adding .abs() method to the array object

2013-02-26 Thread Sebastian Berg
On Mon, 2013-02-25 at 22:04 -0500, josef.p...@gmail.com wrote: > On Mon, Feb 25, 2013 at 9:58 PM, wrote: > > On Mon, Feb 25, 2013 at 9:20 PM, Sebastian Berg > > wrote: > >> On Mon, 2013-02-25 at 10:50 -0500, Skipper Seabold wrote: > >>> On Mon, Feb 25, 2013 at 10:43 AM, Till Stensitzki > >>> wr

Re: [Numpy-discussion] another discussion on numpy correlate (and convolution)

2013-02-26 Thread Matthew Brett
Hi, On Tue, Feb 26, 2013 at 12:20 AM, Pierre Haessig wrote: > Hi, > > Le 22/02/2013 17:40, Matthew Brett a écrit : >> >From complete ignorance, do you think it is an option to allow a >> (n_left, n_right) tuple as a value for 'mode'? >> > That may be an option. Another one would be to add some ki

Re: [Numpy-discussion] Adding .abs() method to the array object

2013-02-26 Thread Pierre Haessig
Hi, Le 23/02/2013 20:25, Nathaniel Smith a écrit : > My gut feeling is that we have too many methods on ndarray, not too > few, but in any case, can you elaborate? What's the rationale for why > np.abs(a) is so much harder than a.abs(), and why this function and > not other unary functions? (Just

Re: [Numpy-discussion] Leaking memory problem

2013-02-26 Thread Jaakko Luttinen
Thanks for all the answers, they were helpful! I was using 1.7.0 and now installed from git: https://github.com/numpy/numpy/archive/master.zip And it looks like the memory leak is gone, so I guess I was hitting that known memory leak bug. Thanks! -Jaakko On 02/26/2013 09:04 AM, Nathaniel Smith

Re: [Numpy-discussion] another discussion on numpy correlate (and convolution)

2013-02-26 Thread Pierre Haessig
Hi, Le 22/02/2013 17:40, Matthew Brett a écrit : > >From complete ignorance, do you think it is an option to allow a > (n_left, n_right) tuple as a value for 'mode'? > That may be an option. Another one would be to add some kind of `bounds` option which would be set to None by default but would ac