[Numpy-discussion] Re: xp.asarray semantics

2023-08-07 Thread Ralf Gommers
On Mon, Aug 7, 2023 at 1:40 AM Andrew Nelson  wrote:

> The array-api documentation (
> https://data-apis.org/array-api/latest/API_specification/generated/array_api.asarray.html#array_api.asarray)
> for `asarray` has a copy keyword, the numpy version doesn't. Is there a
> plan to add such a keyword to no.asarray?
>
> I guess this is part of a general question,  how much numpy convergence
> there will be to the array-api specifications over time?
>

Hi Andrew, the plan is for the main numpy namespace to be fully compatible
with the array API standard in the 2.0 release. This was discussed in the
2.0 developer meeting in April; on this topic there is a slide deck
available which covers the proposal and the needed changes:
https://github.com/numpy/archive/tree/main/2.0_developer_meeting. The
outcome of the discussion in that meeting is to go even a bit further and
apply some of the key design principles (e.g., use of
positional/keyword-only parameters and avoiding use of keyword to control
the number or type of return values) also to numpy functions that aren't in
the array API standard. A NEP is still to be written, but I'd expect it to
not say much that's new compared to those slides and that discussion.

There's still a fair bit of work to do, including the copy= keyword, and we
have ~4 months or so left for that.

Cheers,
Ralf
___
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com


[Numpy-discussion] Re: Interesting article

2023-08-07 Thread Francesc Alted
Nice article.  The historical perspective for the Open Source movement is
great, and I really agree on the distiction between 'the community' and the
'freeloaders'.  Thanks for sharing!

Francesc

On Sat, Aug 5, 2023 at 4:57 PM Charles R Harris 
wrote:

> Hi All,
>
> Just thought I'd pass along a link to an article I found interesting, IBM,
> Red Hat and Free Software: An old maddog’s view
> 
> .
>
> Chuck
> ___
> NumPy-Discussion mailing list -- numpy-discussion@python.org
> To unsubscribe send an email to numpy-discussion-le...@python.org
> https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
> Member address: fal...@gmail.com
>


-- 
Francesc Alted
___
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com