Re: [Numpy-discussion] Proposal to accept NEP 19: Random Number Generator Policy

2018-07-03 Thread Robert Kern
There has been one clarification to the text: https://github.com/numpy/numpy/pull/11488 For the legacy RandomState, we will *not* be fixing correctness bugs if they doing so would break the stream; this is in contrast with the current policy where we can fix correctness bugs. In the post-NEP wo

Re: [Numpy-discussion] Fwd: Allowing broadcasting of code dimensions in generalized ufuncs

2018-07-03 Thread Marten van Kerkwijk
On Tue, Jul 3, 2018 at 12:11 PM, Stephan Hoyer wrote: > On Tue, Jul 3, 2018 at 7:13 AM Marten van Kerkwijk < > m.h.vankerkw...@gmail.com> wrote: > >> Overall, would one way to move forward be to merge the first PR (flexible >> and frozen) and defer the broadcastable dimensions? >> > > This would

Re: [Numpy-discussion] Fwd: Allowing broadcasting of code dimensions in generalized ufuncs

2018-07-03 Thread Stephan Hoyer
On Tue, Jul 3, 2018 at 7:13 AM Marten van Kerkwijk < m.h.vankerkw...@gmail.com> wrote: > Overall, would one way to move forward be to merge the first PR (flexible > and frozen) and defer the broadcastable dimensions? > This would have my support. I have similar misgivings about broadcastable dim

Re: [Numpy-discussion] PEP 574 - zero-copy pickling with out of band data

2018-07-03 Thread Antoine Pitrou
On Mon, 2 Jul 2018 17:16:00 -0600 Charles R Harris wrote: > Maybe somewhat off topic, but we have had trouble with a 2 GiB limit on > file writes on OS X. See https://github.com/numpy/numpy/issues/3858. Does > your implementation work around that? No, it's not the same topic at all. I'd recomm

Re: [Numpy-discussion] Corrupted installation?

2018-07-03 Thread Nathaniel Smith
On Tue, Jul 3, 2018, 05:01 Tom Cook wrote: > I have a remote sensing platform that uses Numpy on a raspberry pi. There > are about a dozen of these installed. Three days ago, the Python part of > the software started crashing during startup, with this exception message: > > Traceback (most rece

Re: [Numpy-discussion] Fwd: Allowing broadcasting of code dimensions in generalized ufuncs

2018-07-03 Thread Marten van Kerkwijk
Hi Nathaniel, Thanks for the detailed thoughts. On Tue, Jul 3, 2018 at 4:27 AM, Nathaniel Smith wrote: > On Sat, Jun 30, 2018 at 6:51 AM, Marten van Kerkwijk > wrote: > > Hi All, > > > > In case it was missed because people have tuned out of the thread: Matti > and > > I proposed last Tuesday

Re: [Numpy-discussion] Corrupted installation?

2018-07-03 Thread Charles R Harris
On Tue, Jul 3, 2018 at 5:59 AM, Tom Cook wrote: > I have a remote sensing platform that uses Numpy on a raspberry pi. There > are about a dozen of these installed. Three days ago, the Python part of > the software started crashing during startup, with this exception message: > > Traceback (most

Re: [Numpy-discussion] PEP 574 - zero-copy pickling with out of band data

2018-07-03 Thread Gael Varoquaux
On Tue, Jul 03, 2018 at 09:42:08AM +0200, Andrea Gavana wrote: > I’m happy if you feel better after your tirade. Not really. I worry a lot that many users are going to be surprised when Python 2 stops being supported, which is in a couple of years. I wrote this tirade not to make me feel better, b

[Numpy-discussion] Corrupted installation?

2018-07-03 Thread Tom Cook
I have a remote sensing platform that uses Numpy on a raspberry pi. There are about a dozen of these installed. Three days ago, the Python part of the software started crashing during startup, with this exception message: Traceback (most recent call last): File "/home/azi/board/sensor_logger.p

[Numpy-discussion] Unable to build Numpy on Mac OSX

2018-07-03 Thread Aman Agarwal
Hello Numpy, Can you please help us in building the numpy source code I am build on my Mac OS X 10.11.6. Step to reproduce : 1. Clone the package from git numpy/numpy.git 2. build it $> python setup.py build_ext -i 3. test it $> python -c 'import numpy; numpy.test()' on running to

[Numpy-discussion] NEP 22 — Duck typing for NumPy arrays – high level overview

2018-07-03 Thread Nathaniel Smith
Hi all, Here's a NEP that Stephan and I wrote (actually a few months ago, but then I was super slow, thank you Stephan for your patience). It tries to lay out a high-level overview of where we're trying to go with all this duck array stuff, and some general guidelines that we've gradually come aro

Re: [Numpy-discussion] Fwd: Allowing broadcasting of code dimensions in generalized ufuncs

2018-07-03 Thread Nathaniel Smith
On Sat, Jun 30, 2018 at 6:51 AM, Marten van Kerkwijk wrote: > Hi All, > > In case it was missed because people have tuned out of the thread: Matti and > I proposed last Tuesday to accept NEP 20 (on coming Tuesday, as per NEP 0), > which introduces notation for generalized ufuncs allowing fixed, fl

Re: [Numpy-discussion] PEP 574 - zero-copy pickling with out of band data

2018-07-03 Thread Andrea Gavana
Hi, On Tue, 3 Jul 2018 at 09.20, Gael Varoquaux wrote: > On Tue, Jul 03, 2018 at 08:54:51AM +0200, Andrea Gavana wrote: > > This sound so very powerful... it’s such a pity that these type of gems > won’t > > be backported to Python 2 - we have so many legacy applications smoothly > > running in

Re: [Numpy-discussion] PEP 574 - zero-copy pickling with out of band data

2018-07-03 Thread Gael Varoquaux
On Tue, Jul 03, 2018 at 08:54:51AM +0200, Andrea Gavana wrote: > This sound so very powerful... it’s such a pity that these type of gems won’t > be backported to Python 2 - we have so many legacy applications smoothly > running in Python 2 and nowhere near the required resources to even start > por