Re: [Numpy-discussion] Make as_strided result writeonly

2016-01-24 Thread Juan Nunez-Iglesias
> Yeah, that is a real use case. I am not planning to remove the option, > but it would be as a `readonly` keyword argument, which means you would > need to make the code depend on the numpy version if you require a > writable array [1]. > > [1] as_strided does not currently support arr.flags.writa

Re: [Numpy-discussion] PR #7090: ENH: Added 'doane' and 'sqrt' estimators to np.histogram

2016-01-24 Thread Joseph Fox-Rabinovitz
Sounds good. Waiting is not really frustrating as long as I know that that is what I am doing. I thought I was missing a step somewhere along the way. Regards, -Joe On Sun, Jan 24, 2016 at 11:36 AM, Charles R Harris wrote: > > > On Sat, Jan 23, 2016 at 8:30 PM, Joseph Fox-Rabinovitz > wro

Re: [Numpy-discussion] PR #7090: ENH: Added 'doane' and 'sqrt' estimators to np.histogram

2016-01-24 Thread Charles R Harris
On Sat, Jan 23, 2016 at 8:30 PM, Joseph Fox-Rabinovitz < jfoxrabinov...@gmail.com> wrote: > As someone very new to relatively large projects such as numpy, I was > wondering how the process works. I have announced my PR with some > small enhancements to the histogram function and fixed up all of t

Re: [Numpy-discussion] Make as_strided result writeonly

2016-01-24 Thread Sebastian Berg
On So, 2016-01-24 at 13:00 +1100, Juan Nunez-Iglesias wrote: > I've used as_strided before to create an "endless" output array when > I didn't care about the result of an operation, just the side effect. > See eg here. So I would certainly like option to remain to get a > writeable array. In genera