Re:NumPy 1.16 is the last release to support Python 2.7
by orf on Monday January 21, 2019 @09:44AM
(#18960659)
In Python 3 they are two distinct types as well.
Re:NumPy 1.16 is the last release to support Python 2.7
by lmm on Monday January 21, 2019 @11:04AM
(#18961212)
They're not really "types" when you only find out at runtime.
Re:NumPy 1.16 is the last release to support Python 2.7
by joshuamorton on Monday January 21, 2019 @03:11PM
(#18963204)
When handling tricky string issues, my first step is usually to explicitly type annotate the code (using mypy annotations). This makes string handling and tracking much simpler.
I found it much easier in Rust, as the two types are just distinct, and an incorrect program just fails to compile.