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, unless we have easy to follow rules for when to
reject type hints, I'm with Florian - too much work for little gain.
(Or in other words, it is really easy to follow a rule where we reject
type hints always).
I've tested mypy a little, and while it might be really useful for
larger Django projetcts, it isn't there yet.
- Anssi
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
django-develop...@googlegroups.com.
> To post to this group, send email to
django-d...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/django-developers.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/django-developers/a4dc54e9-52a4-46ce-86a7-1b8eccfac10a%40googlegroups.com.
>
> For more options, visit
https://groups.google.com/d/optout.