Re: typeshed stubs for mypy

2016-04-21 Thread Pradip Caulagi
On 21/04/16 11:26, Florian Apolloner wrote: stub files would do it too, but all in all it seems much work for not much gain. I created some stub files here - https://github.com/caulagi/django-mypy/tree/master/stubs/django. It is not complete, but it is working for my toy example. I used st

Re: typeshed stubs for mypy

2016-04-21 Thread Anssi Kääriäinen
I think we can use type annotations in comments, and I do think this could be useful in some cases as a hint to autocomplete systems in IDEs. What I'm afraid is that if we add annotations somewhere, we'll have really hard time determining when to stop when requests for more type hints arrive. So,

Re: typeshed stubs for mypy

2016-04-21 Thread Florian Apolloner
stub files would do it too, but all in all it seems much work for not much gain. On Thursday, April 21, 2016 at 2:20:44 AM UTC+2, Tim Graham wrote: > > My understanding is that adding type annotations must wait until we drop > support for Python 2 which will happen after we cut the stable/1.11.x

Re: typeshed stubs for mypy

2016-04-20 Thread Tim Graham
My understanding is that adding type annotations must wait until we drop support for Python 2 which will happen after we cut the stable/1.11.x branch in January 2017. On Wednesday, April 20, 2016 at 7:28:25 PM UTC-4, Pradip Caulagi wrote: > > Hello, > > Is there any plans to add type annotation