[Numpy-discussion] Copies with MaskedArray?

2018-08-23 Thread Andrew Bell
Hi, I'm creating a structured numpy array in C, wrapping it with a MaskedArray and passing this to a Python script: ... PyObject *arr = PyArray_NewFromDescr(&PyArray_Type, descr, 1, &longCount, &pointSize, data, NPY_ARRAY_WRITEABLE, nullptr); // Now wrap the created array in

[Numpy-discussion] polynomial TODOs and enhancements

2018-08-23 Thread Jeffrey Yancey
Hi everyone, I spent some time going through the polynomial directory and found several locations where there were comments left suggestion potential improvements down the road, TODOs, and a line of commented out code. I wanted to share these here to gather a consensus on which, if any, of these t

Re: [Numpy-discussion] Proposal to accept NEP-18, __array_function__ protocol

2018-08-23 Thread Hameer Abbasi
> On 23. Aug 2018, at 18:37, Stephan Hoyer wrote: > > RE: the types argument > > On Tue, Aug 21, 2018 at 12:21 AM Nathaniel Smith > wrote: > This is much more of a detail as compared to the rest of the > discussion, so I don't want to quibble too much about it. (Especia

Re: [Numpy-discussion] Proposal to accept NEP-18, __array_function__ protocol

2018-08-23 Thread Stephan Hoyer
RE: the types argument On Tue, Aug 21, 2018 at 12:21 AM Nathaniel Smith wrote: > This is much more of a detail as compared to the rest of the > discussion, so I don't want to quibble too much about it. (Especially > since if we keep things really-provisional, we can change our mind > about the a

Re: [Numpy-discussion] Proposal to accept NEP-18, __array_function__ protocol

2018-08-23 Thread einstein . edison
Hi everyone, > On 23. Aug 2018, at 17:35, Stephan Hoyer wrote: > >> On Tue, Aug 21, 2018 at 6:57 PM Nathaniel Smith wrote: >> I mean, the idea of the envvar is to be a temporary measure enable >> devs to experiment with a provisional feature, while being awkward >> enough that people don't buil

Re: [Numpy-discussion] Proposal to accept NEP-18, __array_function__ protocol

2018-08-23 Thread Stephan Hoyer
On Tue, Aug 21, 2018 at 6:57 PM Nathaniel Smith wrote: > I mean, the idea of the envvar is to be a temporary measure enable > devs to experiment with a provisional feature, while being awkward > enough that people don't build lots of stuff assuming its there. It > doesn't have to 100% supported i