Re: [Numpy-discussion] error during pip install

2019-09-27 Thread Charles R Harris
On Fri, Sep 27, 2019 at 5:41 PM Charles R Harris wrote: > I that the pip that comes with Python 3.8b4? > > On Fri, Sep 27, 2019 at 10:12 AM Alan Isaac wrote: > >> Upgrading numpy with pip on Python 3.8b4 on Win 10 produced: >> ERROR: Could not install packages due to an EnvironmentError: [WinErr

Re: [Numpy-discussion] error during pip install

2019-09-27 Thread Charles R Harris
I that the pip that comes with Python 3.8b4? On Fri, Sep 27, 2019 at 10:12 AM Alan Isaac wrote: > Upgrading numpy with pip on Python 3.8b4 on Win 10 produced: > ERROR: Could not install packages due to an EnvironmentError: [WinError > 123] The filename, directory name, or volume label syntax is

Re: [Numpy-discussion] UFunc out argument not forcing high precision loop?

2019-09-27 Thread Sebastian Berg
On Fri, 2019-09-27 at 15:50 -0700, Nathaniel Smith wrote: > It is pretty weird that these two statements don't necessarily > produce the same result: > > someufunc(*inputs, out=out_arr) > out_arr[...] = someufunc(*inputs) > Ooopst, fair point. I am not sure I agree, since currently the (mental)

Re: [Numpy-discussion] UFunc out argument not forcing high precision loop?

2019-09-27 Thread Nathaniel Smith
It is pretty weird that these two statements don't necessarily produce the same result: someufunc(*inputs, out=out_arr) out_arr[...] = someufunc(*inputs) On Fri, Sep 27, 2019, 15:02 Sebastian Berg wrote: > On Fri, 2019-09-27 at 11:50 -0700, Sebastian Berg wrote: > > Hi all, > > > > Looking at t

Re: [Numpy-discussion] UFunc out argument not forcing high precision loop?

2019-09-27 Thread Sebastian Berg
On Fri, 2019-09-27 at 11:50 -0700, Sebastian Berg wrote: > Hi all, > > Looking at the ufunc dispatching rules with an `out` argument, I was > a > bit surprised to realize this little gem is how things work: > > ``` > arr = np.arange(10, dtype=np.uint16) + 2**15 > print(arr) > # array([ 0, 2, 4,

[Numpy-discussion] UFunc out argument not forcing high precision loop?

2019-09-27 Thread Sebastian Berg
Hi all, Looking at the ufunc dispatching rules with an `out` argument, I was a bit surprised to realize this little gem is how things work: ``` arr = np.arange(10, dtype=np.uint16) + 2**15 print(arr) # array([ 0, 2, 4, 6, 8, 10, 12, 14, 16, 18], dtype=uint16) out = np.zeros(10) np.add(arr,

[Numpy-discussion] NEP 32 is accepted. Now the work begins...

2019-09-27 Thread Warren Weckesser
NumPy devs, NEP 32 to remove the financial functions (https://numpy.org/neps/nep-0032-remove-financial-functions.html) has been accepted. The next step is to create the numpy-financial package that will replace them. The repository for the new package is https://github.com/numpy/numpy-financial.

[Numpy-discussion] error during pip install

2019-09-27 Thread Alan Isaac
Upgrading numpy with pip on Python 3.8b4 on Win 10 produced: ERROR: Could not install packages due to an EnvironmentError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: '"C:' However, the install appears to have been successful. fwiw, Alan Isaac _