[Numpy-discussion] Requesting a PR review for #5822

2016-06-09 Thread Antony Lee
https://github.com/numpy/numpy/pull/5822 is a year-old PR which allows many random distributions to have a scale of exactly 0 (in which case a stream of zeros is returned of whatever constant value is appropriate). It passes all tests and has been sitting there for a while. Would a core dev be kin

[Numpy-discussion] NumPy lesson at EuroScipy2016?

2016-06-09 Thread mail
Hi all, Recently I taught "Advanced NumPy" lesson at a Software Carpentry workshop [1]. It covered a review of basic operations on numpy arrays and also more advanced topics: indexing, broadcasting, dtypes and memory layout. I would greatly appreciate your feedback on the lesson materials, whic

Re: [Numpy-discussion] Integers to integer powers, let's make a decision

2016-06-09 Thread Nathaniel Smith
On Mon, Jun 6, 2016 at 1:17 PM, Charles R Harris wrote: > > > > On Mon, Jun 6, 2016 at 2:11 PM, Marten van Kerkwijk > wrote: >> >> Hi Chuck, >> >> I consider either proposal an improvement, but among the two I favour >> returning float for `**`, because, like for `/`, it ensures one gets closes