[Numpy-discussion] NumPy Newcomers Hour – Thursday, March 10th

2022-03-08 Thread Inessa Pawson
The next NumPy Newcomers Hour will be held this *Thursday, March 10th at 4 pm UTC*. *Mukulika Pahari* will present her tutorial *Analyzing the impact of the lockdown on air quality in Delhi, India* ( https://numpy.org/numpy-tutorials/content/tutorial-air-quality-analysis.html ). Join us *via Zoom

[Numpy-discussion] NumPy Development Meeting Wednesday - Triage Focus

2022-03-08 Thread Sebastian Berg
Hi all, Our bi-weekly triage-focused NumPy development meeting is Wednesday, March 9th at 17:00 UTC (9:00am Pacific Time). Everyone is invited to join in and edit the work-in-progress meeting topics and notes: https://hackmd.io/68i_JvOYQfy9ERiHgXMPvg I encourage everyone to notify us of issues or

[Numpy-discussion] Re: Exposing `from_dlpack` to the main namespace

2022-03-08 Thread Stefan van der Walt
On Tue, Mar 8, 2022, at 09:01, Sebastian Berg wrote: > An annoyance with methods is that our class is `np.ndarray` with an > awkward `__new__` [2]. > So if it is `np.array.from_*` it would not be (only) a static- or > classmethod, but also attached to that function. It sounds like there are severa

[Numpy-discussion] Re: Exposing `from_dlpack` to the main namespace

2022-03-08 Thread Sebastian Berg
On Tue, 2022-03-08 at 08:26 -0800, Stefan van der Walt wrote: > Hi Sebastian, > > On Tue, Mar 8, 2022, at 07:41, Sebastian Berg wrote: > > just a brief note that: > > > > https://github.com/numpy/numpy/pull/21145 > > > > will add `np.from_dlpack` (to import objects implementing the > > `__dl

[Numpy-discussion] Re: Exposing `from_dlpack` to the main namespace

2022-03-08 Thread Stephan Hoyer
On Tue, Mar 8, 2022 at 8:27 AM Stefan van der Walt wrote: > In other places in the ecosystem, like pandas and xarray, `from_x` and > friends live as static methods on their respective classes. Any reason not > to add this as `numpy.array.from_dlpack`? We may also want to consider > adding all th

[Numpy-discussion] Re: Exposing `from_dlpack` to the main namespace

2022-03-08 Thread Stefan van der Walt
Hi Sebastian, On Tue, Mar 8, 2022, at 07:41, Sebastian Berg wrote: > just a brief note that: > > https://github.com/numpy/numpy/pull/21145 > > will add `np.from_dlpack` (to import objects implementing the > `__dlpack__` dunder [1]. In other places in the ecosystem, like pandas and xarray, `fr

[Numpy-discussion] Re: Numpy Participation in Google Season of Docs 2022

2022-03-08 Thread bhavuk kalra
Hello Melissa, Thank you for such a warm welcome. I am looking forward to joining the community calls on 9 March - Community Calls 10 - March - Newcomers Calls and of course 14 March - Documentation Team Meeting. I have started contributing to the Documentation for NumPy and have made a Pull Re

[Numpy-discussion] Exposing `from_dlpack` to the main namespace

2022-03-08 Thread Sebastian Berg
Hi, just a brief note that: https://github.com/numpy/numpy/pull/21145 will add `np.from_dlpack` (to import objects implementing the `__dlpack__` dunder [1]. It was added with an underscore mainly due to unlucky timing, IIRC. There may also be some choices that could be different, but I bel