[Numpy-discussion] Re: spam on the mailing lists

2021-09-29 Thread Juan Nunez-Iglesias
On scikit-image, we've moderated *subscriptions*, and only subscribers can post without being moderated, but still spam gets through, because it's hard to vet whether an email address is "genuine", so sometimes we allow the subscription, and immediately receive resulting spam. A "reputation"

[Numpy-discussion] Re: ENH: Extended choose -- add an implementation of the choose function which supports more than 32 choices

2021-09-29 Thread Sebastian Berg
On Wed, 2021-09-29 at 15:09 -0400, Aaron Watters wrote: > Hi folks! > > The np.choose function raises a ValueError if called with more than > 31 > choices. > This PR adds an alternate implementation np.extended_choose (which > uses the > base implementation) that supports any number of choices. >

[Numpy-discussion] ENH: Extended choose -- add an implementation of the choose function which supports more than 32 choices

2021-09-29 Thread Aaron Watters
Hi folks! The np.choose function raises a ValueError if called with more than 31 choices. This PR adds an alternate implementation np.extended_choose (which uses the base implementation) that supports any number of choices. https://github.com/numpy/numpy/pull/20001 FYI, I needed this

[Numpy-discussion] Re: A bite of C++

2021-09-29 Thread Neal Becker
A couple of questions from a quick casual reading 1. radixsort (void *start...) Do we really need void*? We don't know the type of start at compile time? 2. reinterpret_cast start (related to #1). 3. reinterpret_cast(malloc(num * sizeof(T))); A C-ism. Would it work to use new T[num]? On

[Numpy-discussion] Re: spam on the mailing lists

2021-09-29 Thread Matti Picus
On 29/9/21 9:07 pm, Stefan van der Walt wrote: On Wed, Sep 29, 2021, at 03:02, Ralf Gommers wrote: We don't have admin access to the python.org lists, so this is a bit of a problem. We have never had a spam problem, so we can ask to block this user first. If it continues

[Numpy-discussion] Re: spam on the mailing lists

2021-09-29 Thread Stefan van der Walt
On Wed, Sep 29, 2021, at 14:39, Ralf Gommers wrote: > > On Wed, Sep 29, 2021 at 11:32 PM Stefan van der Walt > wrote: >> __ >> On Wed, Sep 29, 2021, at 13:58, Ralf Gommers wrote: >>> This was discussed in the community meeting today. No one was really >>> enthusiastic, concerns that were

[Numpy-discussion] Re: spam on the mailing lists

2021-09-29 Thread Ralf Gommers
On Wed, Sep 29, 2021 at 11:32 PM Stefan van der Walt wrote: > On Wed, Sep 29, 2021, at 13:58, Ralf Gommers wrote: > > This was discussed in the community meeting today. No one was really > enthusiastic, concerns that were brought up included the lack of an email > interface, and an unclear

[Numpy-discussion] Re: spam on the mailing lists

2021-09-29 Thread Stefan van der Walt
On Wed, Sep 29, 2021, at 13:58, Ralf Gommers wrote: > This was discussed in the community meeting today. No one was really > enthusiastic, concerns that were brought up included the lack of an email > interface, and an unclear boundary between issues and discussions. FWIW, Discourse has an

[Numpy-discussion] Re: spam on the mailing lists

2021-09-29 Thread Ralf Gommers
On Wed, Sep 29, 2021 at 12:51 PM Ilhan Polat wrote: > I'd like to reheat the proposition that we enable discussion feature on > GitHub for the repos. Not only this makes things a bit more streamlined > (transfer nonbug reports to discussions to handle noise there) but also > makes it easier to

[Numpy-discussion] Re: Running numpy.test() after pip install

2021-09-29 Thread Ralf Gommers
On Wed, Sep 29, 2021 at 9:54 PM Robert Kern wrote: > On Wed, Sep 29, 2021 at 3:50 PM Ralf Gommers > wrote: > >> >> On Tue, Sep 28, 2021 at 10:39 PM Aaron Meurer wrote: >> >>> Could numpy include a variant (I'm not sure what setuptools calls >>> this) so that 'pip install numpy[tests]' installs

[Numpy-discussion] Re: Running numpy.test() after pip install

2021-09-29 Thread Robert Kern
On Wed, Sep 29, 2021 at 3:50 PM Ralf Gommers wrote: > > On Tue, Sep 28, 2021 at 10:39 PM Aaron Meurer wrote: > >> Could numpy include a variant (I'm not sure what setuptools calls >> this) so that 'pip install numpy[tests]' installs those extra >> dependencies? >> > > I'd prefer not to, those

[Numpy-discussion] Re: Running numpy.test() after pip install

2021-09-29 Thread Ralf Gommers
On Tue, Sep 28, 2021 at 10:39 PM Aaron Meurer wrote: > Could numpy include a variant (I'm not sure what setuptools calls > this) so that 'pip install numpy[tests]' installs those extra > dependencies? > I'd prefer not to, those things aren't great for maintenance/testing, and if you have to

[Numpy-discussion] Re: spam on the mailing lists

2021-09-29 Thread Stefan van der Walt
On Wed, Sep 29, 2021, at 03:02, Ralf Gommers wrote: > We don't have admin access to the python.org lists, so this is a bit of a > problem. We have never had a spam problem, so we can ask to block this user > first. If it continues to happen, we may be able to moderate new subscriber > emails,

[Numpy-discussion] ANN: SfePy 2021.3

2021-09-29 Thread Robert Cimrman
I am pleased to announce the release of SfePy 2021.3. Description --- SfePy (simple finite elements in Python) is a software for solving systems of coupled partial differential equations by finite element methods. It is distributed under the new BSD license. Home page:

[Numpy-discussion] Re: spam on the mailing lists

2021-09-29 Thread Roman Yurchak
Yes, there is also lots of such spam on other @python.org mailing lists lately. I sent a message to postmaster / python.org about it earlier today. Will get back once there is a response. -- Roman On 29/09/2021 11:28, Andras Deak wrote: On Wed, Sep 29, 2021 at 11:15 AM Ralf Gommers

[Numpy-discussion] Re: spam on the mailing lists

2021-09-29 Thread Ilhan Polat
I'd like to reheat the proposition that we enable discussion feature on GitHub for the repos. Not only this makes things a bit more streamlined (transfer nonbug reports to discussions to handle noise there) but also makes it easier to control the discussions. Moreover since it is GitHub there are

[Numpy-discussion] Re: spam on the mailing lists

2021-09-29 Thread Andras Deak
On Wed, Sep 29, 2021 at 12:02 PM Ralf Gommers wrote: > > > On Wed, Sep 29, 2021 at 11:33 AM Andras Deak > wrote: > >> On Wed, Sep 29, 2021 at 11:28 AM Andras Deak >> wrote: >> >>> On Wed, Sep 29, 2021 at 11:15 AM Ralf Gommers >>> wrote: >>> On Wed, Sep 29, 2021 at 9:32 AM

[Numpy-discussion] Re: spam on the mailing lists

2021-09-29 Thread Ralf Gommers
On Wed, Sep 29, 2021 at 11:33 AM Andras Deak wrote: > On Wed, Sep 29, 2021 at 11:28 AM Andras Deak > wrote: > >> On Wed, Sep 29, 2021 at 11:15 AM Ralf Gommers >> wrote: >> >>> >>> >>> On Wed, Sep 29, 2021 at 9:32 AM Andras Deak >>> wrote: >>> Hi All, Today both of the

[Numpy-discussion] Re: spam on the mailing lists

2021-09-29 Thread Andras Deak
On Wed, Sep 29, 2021 at 11:15 AM Ralf Gommers wrote: > > > On Wed, Sep 29, 2021 at 9:32 AM Andras Deak wrote: > >> Hi All, >> >> Today both of the python.org mailing lists I'm subscribed to (numpy and >> scipy-dev) got the same kind of link shortener spam. I assume all the >> mailing lists

[Numpy-discussion] Re: spam on the mailing lists

2021-09-29 Thread Ralf Gommers
On Wed, Sep 29, 2021 at 9:32 AM Andras Deak wrote: > Hi All, > > Today both of the python.org mailing lists I'm subscribed to (numpy and > scipy-dev) got the same kind of link shortener spam. I assume all the > mailing lists started getting these, and that these won't go away for a > while. > I

[Numpy-discussion] spam on the mailing lists

2021-09-29 Thread Andras Deak
Hi All, Today both of the python.org mailing lists I'm subscribed to (numpy and scipy-dev) got the same kind of link shortener spam. I assume all the mailing lists started getting these, and that these won't go away for a while. Is there any way to prevent these, short of moderating emails from