[Numpy-discussion] a use case for __array_interface__ "scalar" path?

2025-07-27 Thread marco . rigobello
Hi, I was trying to prevent array creation from iterating over instances of classes implementing __iter__, __getitem__, __len__ etc. An effective way (at least with a UserDict subclass) seem setting __array_interface__ = {"shape": (), "typestr": "O"} # with data field omitted (!) According

[Numpy-discussion] next NumPy community meeting - Wednesday, July 30th, 2025 at 5 pm UTC

2025-07-27 Thread Inessa Pawson via NumPy-Discussion
The next NumPy community meeting will be held this Wednesday, July 30th at 17:00 (5 pm) UTC. Join us via Zoom: https://numfocus-org.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,