Re: [Numpy-discussion] Type annotations for NumPy

2017-11-26 Thread Stephan Hoyer
On Sat, Nov 25, 2017 at 3:34 PM Matthew Rocklin wrote: > Thoughts on basing this on a more generic Array type rather than the > np.ndarray? I can imagine other nd-array libraries (XArray, Tensorflow, > Dask.array) wanting to reuse this work. For dask.array in particular we

Re: [Numpy-discussion] Type annotations for NumPy

2017-11-26 Thread Kirill Balunov
Hi! 2017-11-26 4:31 GMT+03:00 Juan Nunez-Iglesias : > > On 26 Nov 2017, 12:27 PM +1100, Nathaniel Smith , wrote: > > It turns out that the PEP 484 type system is *mostly* not useful for > this. They're really designed for checking consistency across a large >