type hinting backward compatibility with python 3.0 to 3.4

Dan Stromberg drsalists at gmail.com
Fri May 19 23:58:09 EDT 2017


On Fri, May 19, 2017 at 6:35 AM, Edward Ned Harvey (python)
<python at nedharvey.com> wrote:
> I think it's great that for built-in types such as int and str, backward compatibility of type hinting annotations is baked into python 3.0 to 3.4. In fact, I *thought* python 3.0 to 3.4 would *ignore* annotations, but it doesn't...

Perhaps you'd be interested in the typing backport?
https://pypi.python.org/pypi/typing



More information about the Python-list mailing list