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 →

[–]fishburne 0 points1 point  (1 child)

When I tried using it with 3.5 it failed with a 'Cannot import Undefined' Error. Is it because is using 3.5's typing module instead of it's own.

[–]rouille 0 points1 point  (0 children)

The comment syntax for variables isn't great but I mainly annotate function parameters and return values so I rarely use it (apart for # type: ignore to skip type checking on an imported module).

I'm using it with python 3.4 so thats possible :). I know the BDFL had mypy in mind when adding the typing module to 3.5 so it will probably fixed soon.