[Numpy-discussion] Re: Proposal: Indexing by callables

2022-07-31 Thread Andras Deak
Hi, For the sake of transparency, a short mailing list thread from November 2021 is here: https://mail.python.org/archives/list/numpy-discussion@python.org/thread/DNTC3A4CTVDYISVS57GXURJ6QP2PXPHK/ Corresponding (low-activity) feature request where you also commented: https://github.com/numpy/nu

[Numpy-discussion] Support for tensor type hints (PEP646)

2022-07-31 Thread Hylke Donker
Hi, As I am sure you are aware, Python 3.11 will ship with support for variadic generics (PEP 646 ). According to the PEP documentation, it will allow tensor shape type hints like this: def to_gray(videos: Array[

[Numpy-discussion] Re: Proposal: Indexing by callables

2022-07-31 Thread Stephan Hoyer
On Sat, Jul 30, 2022 at 5:51 PM Matteo Santamaria wrote: > Hi all, > > > > I’d like to open a discussion on supporting callables within > `np.ndarray.__getitem__`. The intent is to make long function-chaining > expressions more ergonomic by removing the need for an intermediary, > temporary value

[Numpy-discussion] next NumPy community meeting

2022-07-31 Thread Inessa Pawson
The next NumPy community meeting will be held this Wednesday, August 3rd at 18:00 (6 pm) UTC. Join us via Zoom: https://us06web.zoom.us/j/83278611437?pwd=ekhoLzlHRjdWc0NOY2FQM0NPemdkZz09 Everyone is welcome and encouraged to attend. To add to the meeting agenda the topics you’d like to discuss, f