[Numpy-discussion] Re: NEP 50 and integers (e.g. uint8 together -1)

2022-09-28 Thread Stefan van der Walt
Hi Sebastian, On Wed, Sep 28, 2022, at 12:11, Sebastian Berg wrote: > np.array([1, 2], dtype="uint8") + (-1) > > which currently returns an "int16" array must raise an error. This is > because we want to return a uint8 array but the -1 cannot be > represented well by -1. Did you mean: the -1

[Numpy-discussion] NEP 50 and integers (e.g. uint8 together -1)

2022-09-28 Thread Sebastian Berg
Hi all, In NEP 50 (https://numpy.org/neps/nep-0050-scalar-promotion.html) my current proposal is that the following: np.array([1, 2], dtype="uint8") + (-1) which currently returns an "int16" array must raise an error. This is because we want to return a uint8 array but the -1 cannot be repr

[Numpy-discussion] Re: PR hasn't been responded to in 2 weeks

2022-09-28 Thread Inessa Pawson
Hi, Matteo! Thank you for the ping. The NumPy core developer team will make a decision on how to move forward with your pull request at the next triage meeting on October 5th. It would be great if you could join us at the meeting. Cheers, Inessa Inessa Pawson Contributor Experience Lead | NumPy

[Numpy-discussion] Re: PR hasn't been responded to in 2 weeks

2022-09-28 Thread Stefan van der Walt
On Wed, Sep 28, 2022, at 08:01, Matti Picus wrote: > The reviewers also asked you to consider a different interface > (method=), I did not see a response to that suggestion. I think that interface suggestion makes sense. Since there seemed to be some confusion in the comments, I'll summarize her

[Numpy-discussion] Re: PR hasn't been responded to in 2 weeks

2022-09-28 Thread Matti Picus
The idea of using fft in polynomial.polymul in the PR got a cool reception. It is not clear if we should add this to NumPy or refer users to other packages.  Maybe the mailing list would be a forum to discuss the need for the enhancement. It should have at least one other champion in order to m

[Numpy-discussion] PR hasn't been responded to in 2 weeks

2022-09-28 Thread matteo_luigi_raso
I made a PR (#22255) that received some attention, but has been ignored for 2 weeks now. I commented on the PR 5 days ago, but there was still no response. Sent with [Proton Mail](https://proton.me/) secure email.___ NumPy-Discussion mailing list -- num