News for hackers. Stuff that matters.
Re:Revenge of the Types by randlet on Sunday August 24, 2014 @10:04PM (#8220276)
On the topic of IDE's, WingIDE has an interesting approach where you can add `assert isinstance(your_var, SomeClass) to the beginning of your functions to help Wing analyse your code[1]. It's more verbose than type annotations and doesn't feel very idiomatic sprinkling asserts all through your code but I recall it being pretty helpful (I haven't used Wing in years now).

[1] https://wingware.com/doc/edit/helping-wing-analyze-code

Re:Revenge of the Types by andreif on Monday August 25, 2014 @07:04AM (#8221261)
Sometimes I do it in PyCharm as well when it has troubles auto-detecting types.
Re:Revenge of the Types by int_19h on Monday August 25, 2014 @01:24PM (#8222772)
PTVS supports it, as well. Basically, this is the way to go if you want cross-IDE type hints right now.