Re: [Numpy-discussion] Low-level API for Random

2019-09-19 Thread Matti Picus
On 20/9/19 6:25 am, Robert Kern wrote: Well, we must because one's used by the legacy RandomState and one's used by Generator. :-) I would prefer not to create a legacy C-API at all. Are we required to from the NEP? Matti ___

Re: [Numpy-discussion] Low-level API for Random

2019-09-19 Thread Robert Kern
On Thu, Sep 19, 2019 at 11:04 PM Ralf Gommers wrote: > > > On Thu, Sep 19, 2019 at 4:53 PM Robert Kern wrote: > >> On Thu, Sep 19, 2019 at 5:24 AM Ralf Gommers >> wrote: >> >>> >>> On Thu, Sep 19, 2019 at 10:28 AM Kevin Sheppard < >>> kevin.k.shepp...@gmail.com> wrote: >>> There are some

Re: [Numpy-discussion] Low-level API for Random

2019-09-19 Thread Ralf Gommers
On Thu, Sep 19, 2019 at 4:53 PM Robert Kern wrote: > On Thu, Sep 19, 2019 at 5:24 AM Ralf Gommers > wrote: > >> >> On Thu, Sep 19, 2019 at 10:28 AM Kevin Sheppard < >> kevin.k.shepp...@gmail.com> wrote: >> >>> There are some users of the NumPy C code in randomkit. This was never >>> officially

Re: [Numpy-discussion] DType Roadmap/NEP Discussion

2019-09-19 Thread Warren Weckesser
On 9/18/19, Sebastian Berg wrote: > Hi all, > > to try and make some progress towards a decision since the broad design > is pretty much settling from my side. I am thinking about making a > meeting, and suggest Monday at 11am Pacific Time (I am open to other > times though). That works for me.

Re: [Numpy-discussion] DType Roadmap/NEP Discussion

2019-09-19 Thread Matti Picus
On 19/9/19 2:34 am, Sebastian Berg wrote: Hi all, to try and make some progress towards a decision since the broad design is pretty much settling from my side. I am thinking about making a meeting, and suggest Monday at 11am Pacific Time (I am open to other times though). My hope is to get

Re: [Numpy-discussion] DType Roadmap/NEP Discussion

2019-09-19 Thread Sebastian Berg
On Wed, 2019-09-18 at 21:33 -0700, Ralf Gommers wrote: > Hi Sebastian, > > > On Wed, Sep 18, 2019 at 4:35 PM Sebastian Berg < > sebast...@sipsolutions.net> wrote: > > Hi all, > > > > to try and make some progress towards a decision since the broad > > design > > is pretty much settling from my

Re: [Numpy-discussion] Low-level API for Random

2019-09-19 Thread Stanley Seibert
Just to chime in: Numba would definitely appreciate C functions to access the random distribution implementations, and have a side-project (numba-scipy) that is making the Cython wrapped functions in SciPy visible to Numba. On Thu, Sep 19, 2019 at 5:41 AM Kevin Sheppard wrote: > > > On Thu, Sep

[Numpy-discussion] Proposal to accept NEP 32: Remove the financial functions from NumPy

2019-09-19 Thread Warren Weckesser
NEP 32 is available at https://numpy.org/neps/nep-0032-remove-financial-functions.html Recent timeline: - 30-Aug-2019 - A pull request with NEP 32 submitted. - 03-Sep-2019 - Announcement of the NEP 32 pull request on the NumPy-Discussion mailing list, with the text of the NEP included

Re: [Numpy-discussion] Low-level API for Random

2019-09-19 Thread Robert Kern
On Thu, Sep 19, 2019 at 5:24 AM Ralf Gommers wrote: > > On Thu, Sep 19, 2019 at 10:28 AM Kevin Sheppard < > kevin.k.shepp...@gmail.com> wrote: > >> There are some users of the NumPy C code in randomkit. This was never >> officially supported. There has been a long open issue to provide this >>

Re: [Numpy-discussion] Low-level API for Random

2019-09-19 Thread Evgeni Burovski
>> >> >> 1. Should there be a prefix on the C functions? >> 2. If so, what should the prefix be? >> > Preferably, yes. Don't have an opinion on an exact prefix, as long as it allows me to e.g. swap a normal distribution generator in my cython/c++ user code without too much mess. if the only goal

Re: [Numpy-discussion] Low-level API for Random

2019-09-19 Thread Kevin Sheppard
On Thu, Sep 19, 2019 at 10:23 AM Ralf Gommers wrote: > > > On Thu, Sep 19, 2019 at 10:28 AM Kevin Sheppard < > kevin.k.shepp...@gmail.com> wrote: > >> There are some users of the NumPy C code in randomkit. This was never >> officially supported. There has been a long open issue to provide this

Re: [Numpy-discussion] Low-level API for Random

2019-09-19 Thread Ralf Gommers
On Thu, Sep 19, 2019 at 10:28 AM Kevin Sheppard wrote: > There are some users of the NumPy C code in randomkit. This was never > officially supported. There has been a long open issue to provide this > officially. > > When I wrote randomgen I supplied .pdx files that make it simpler to write >

[Numpy-discussion] Low-level API for Random

2019-09-19 Thread Kevin Sheppard
There are some users of the NumPy C code in randomkit. This was never officially supported. There has been a long open issue to provide this officially. When I wrote randomgen I supplied .pdx files that make it simpler to write Cython code that uses the components. The lower-level API has not