serge-sans-paille / pythran

Ahead of Time compiler for numeric kernels
https://pythran.readthedocs.io
BSD 3-Clause "New" or "Revised" License
2.01k stars 193 forks source link

Fix annotation of numpy.array #2137

Closed serge-sans-paille closed 1 year ago

serge-sans-paille commented 1 year ago

It is not valid to consider it as 'read_once' as it behaves differently when taking a list or an iterator as input.

Fix #2135