Re:Numpy: Plan for dropping Python 2.7 support
by SatvikBeri on Wednesday November 15, 2017 @05:41PM
(#15708622)
Optional type annotations did it for me - I don't usually use them, but I find them very helpful on a few types of tasks.
[ Parent
| on HN ]
Re:Numpy: Plan for dropping Python 2.7 support
by Figs on Wednesday November 15, 2017 @06:37PM
(#15709077)
Could you please elaborate on this?
Re:Numpy: Plan for dropping Python 2.7 support
by leshow on Wednesday November 15, 2017 @07:52PM
(#15709424)
You can write type annotations in 3. The benefits there are the same that come with most optional typing. https://docs.python.org/3/library/typing.html