[Numpy-discussion] Type annotations for NumPy

Stephan Hoyer shoyer at gmail.com
Tue Nov 28 14:04:07 EST 2017


On Tue, Nov 28, 2017 at 5:11 PM Robert T. McGibbon <rmcgibbo at gmail.com>
wrote:

> I'm strongly in support of this proposal.  Type annotations have really
> helped me write more correct code.
>
> I started working on numpy type stubs a few months ago. I needed a mypy
> plugin to support shape-aware functions. Those whole thing is pretty
> tricky. Still very WIP, but I'll clean them up a little bit and opensource
> it shortly.
>

Great to hear -- I'd love to see what this looks like, or hear any lessons
you learned from the experience!

Actual experience using and writing such a type checker gives you a
valuable perspective to share, as opposed to my speculation.

Cheers,
Stephan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20171128/62a3a6cf/attachment.html>


More information about the NumPy-Discussion mailing list