#29299: Inline/Out of the box Type hints(PEP 484) and Variable annotations(PEP
526)
------------------------------------------------+------------------------
Reporter: Andreas Galazis | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Uncategorized | Version: 2.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
Adhering to [https://www.python.org/dev/peps/pep-0484/ Type hints(PEP
484)] / [https://www.python.org/dev/peps/pep-0526/ type annotations] could
contribute to being more explicit / performing code analysis and checks on
Django projects. Intellisense based on type annotations can also
contribute to faster and less error-prone coding experience.
Typesheds will be a pain to maintain across versions. Based on my
experience with typescript typings, the most immaculate situation is
shipping typings within the project, even though shipping external typings
is mature in that case. Nevertheless, inline typings can help Django
project development as well.
Adding to the docs any future plans regarding this, would be helpful for
prospective developers.
--
Ticket URL: <https://code.djangoproject.com/ticket/29299>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.edd20f43ac704f8192b964e9608829cc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.