Django 2 will be for python 3.5+ this is the perfect time to start adding Typing Annotations to django core.
There is not need to add to the full code base at once, this is something that could be faced in as new apis are written and added to older apis and sages. In my view advantages of adding the typing are 3 fold. 1) makes the code easier to read 2) IDEs (that support this) will be better able to help users, true the existing type info from doc strings is used but the `typing` module provides more control such as generics and typed list/dicts etc 3) Once complete Django can use mypy to validate the types across the code base helping with reducing feature bugs through simple to fix typing issues. Im not sure if there is any large performance hit from using typing on a large project like Django does anyone know of any performance metrics on this? -- 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-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@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/8f4c70a4-8e40-400d-9011-d7d50e9b2174%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.