Re: [Numpy-discussion] Handle type convertion in C API

2020-03-11 Thread Benoit Gschwind
Hello Eric, Thank you for pointing out ufunc, I implemented my binding using it, it's working and it's simpler than my previous implementation, but I still not have the flexibility to dynamically recast input array, i.e. using a int64 array as input for a int32. For instance for testing my code I

Re: [Numpy-discussion] Handle type convertion in C API

2020-03-11 Thread Eric Moore
There are a variety of ways to resolve your issues. You can try using the optional arguments casting, dtype or signature that work for all ufuncs see https://numpy.org/doc/1.18/reference/ufuncs.html#optional-keyword-arguments This will allow you to override the default type checks. What you'll fi

[Numpy-discussion] Proposal: NEP 41 -- First step towards a new Datatype System

2020-03-11 Thread Sebastian Berg
Hi all, I am pleased to propose NEP 41: First step towards a new Datatype System https://numpy.org/neps/nep-0041-improved-dtype-support.html This NEP motivates the larger restructure of the datatype machinery in NumPy and defines a few fundamental design aspects. The long term user impact will be

[Numpy-discussion] Opportunities for a NumPy sprint in Japan

2020-03-11 Thread David Cournapeau
Hi there, My current employer is organizing regular "hack weeks" where engineers can work on the projects of their choice. My team is using a lot of pydata tools, including numpy, so contributing to NumPy would be natural. Before I decide to add NumPy as a project, I want to make sure it does not

Re: [Numpy-discussion] Opportunities for a NumPy sprint in Japan

2020-03-11 Thread Charles R Harris
Hi David, On Wed, Mar 11, 2020 at 8:43 PM David Cournapeau wrote: > Hi there, > > My current employer is organizing regular "hack weeks" where engineers can > work on the projects of their choice. My team is using a lot of pydata > tools, including numpy, so contributing to NumPy would be natura

Re: [Numpy-discussion] Opportunities for a NumPy sprint in Japan

2020-03-11 Thread David Cournapeau
Hi chuck, Le jeu. 12 mars 2020 à 13:17, Charles R Harris a écrit : > > Hi David, > > On Wed, Mar 11, 2020 at 8:43 PM David Cournapeau > wrote: > >> Hi there, >> >> My current employer is organizing regular "hack weeks" where engineers >> can work on the projects of their choice. My team is us

Re: [Numpy-discussion] Opportunities for a NumPy sprint in Japan

2020-03-11 Thread Matti Picus
On 12/3/20 8:14 am, David Cournapeau wrote: I will try to join the meeting next week though (where are the info to join ?), David The next one will be a community meeting on Wed Mar 18, 11am California time on this zoom channel https://berkeley.zoom.us/j/762261535. We will be updating