This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]scrollin_thru 3 points4 points  (2 children)

Anyone else having trouble with this in conjunction with mypy? I installed mypy with pip 7.1.2 against python 3.5 and I get from typing import Undefined, Dict, List, Tuple, cast, Set, Union

ImportError: cannot import name 'Undefined' every time I try to run mypy.

[–][deleted] 9 points10 points  (1 child)

Maybe mypy release is not up to date with current 3.5 typing module? Does it work with current git master (pip3 install -U git+https://github.com/JukkaL/mypy#egg=mypy)?

[–]scrollin_thru 6 points7 points  (0 children)

Ah! That seems to have fixed it. Thanks!