[Numpy-discussion] Would like to patch docstring for numpy.random.normal

2015-02-25 Thread Daniel Sank
Dear numpy users, I would like to clarify the docstring for numpy.random.normal. I submitted a patch but it was rejected because it breaks the tests. Unfortunately, the development workflow page does not explain how to run the tests (in fact it doesn't mention them at all). I am therefore writing

Re: [Numpy-discussion] Objects exposing the array interface

2015-02-25 Thread Stephan Hoyer
On Wed, Feb 25, 2015 at 2:48 PM, Jaime Fernández del Río < jaime.f...@gmail.com> wrote: > I am not really sure what the behavior of __array__ should be. The link > to the subclassing docs I gave before indicates that it should be possible > to write to it if it is writeable (and probably pandas sh

Re: [Numpy-discussion] Objects exposing the array interface

2015-02-25 Thread Jaime Fernández del Río
On Wed, Feb 25, 2015 at 1:56 PM, Stephan Hoyer wrote: > > > On Wed, Feb 25, 2015 at 1:24 PM, Jaime Fernández del Río < > jaime.f...@gmail.com> wrote: > >> 1. When converting these objects to arrays using PyArray_Converter, if >> the arrays returned by any of the array interfaces is not C contiguo

Re: [Numpy-discussion] Objects exposing the array interface

2015-02-25 Thread Stephan Hoyer
On Wed, Feb 25, 2015 at 1:24 PM, Jaime Fernández del Río < jaime.f...@gmail.com> wrote: > 1. When converting these objects to arrays using PyArray_Converter, if > the arrays returned by any of the array interfaces is not C contiguous, > aligned, and writeable, a copy that is will be made. Proper a

[Numpy-discussion] Objects exposing the array interface

2015-02-25 Thread Jaime Fernández del Río
An issue was raised yesterday in github, regarding np.may_share_memory when run on a class exposing an array using the __array__ method. You can check the details here: https://github.com/numpy/numpy/issues/5604 Looking into it, I found out that NumPy doesn't really treat objects exposing __array

Re: [Numpy-discussion] GSoC'15 - mentors & ideas

2015-02-25 Thread Nathaniel Smith
On Feb 25, 2015 12:10 PM, "Charles R Harris" wrote: > > > > On Wed, Feb 25, 2015 at 11:23 AM, Pauli Virtanen wrote: >> >> 25.02.2015, 19:59, Pauli Virtanen kirjoitti: >> > 25.02.2015, 07:11, Nathaniel Smith kirjoitti: >> >> Not sure if this is a full GSoC but it would be good to get the benchmark

Re: [Numpy-discussion] GSoC'15 - mentors & ideas

2015-02-25 Thread Charles R Harris
On Wed, Feb 25, 2015 at 11:23 AM, Pauli Virtanen wrote: > 25.02.2015, 19:59, Pauli Virtanen kirjoitti: > > 25.02.2015, 07:11, Nathaniel Smith kirjoitti: > >> Not sure if this is a full GSoC but it would be good to get the > benchmarks > >> into the numpy repository, so we can start asking people

Re: [Numpy-discussion] GSoC'15 - mentors & ideas

2015-02-25 Thread Pauli Virtanen
25.02.2015, 19:59, Pauli Virtanen kirjoitti: > 25.02.2015, 07:11, Nathaniel Smith kirjoitti: >> Not sure if this is a full GSoC but it would be good to get the benchmarks >> into the numpy repository, so we can start asking people who submit >> optimizations to submit new benchmarks as part of the

Re: [Numpy-discussion] GSoC'15 - mentors & ideas

2015-02-25 Thread Pauli Virtanen
25.02.2015, 07:11, Nathaniel Smith kirjoitti: > Not sure if this is a full GSoC but it would be good to get the benchmarks > into the numpy repository, so we can start asking people who submit > optimizations to submit new benchmarks as part of the PR (just like other > changes require tests). Thi