#28708: Add constants to detect the Python version
------------------------------------------------+------------------------
Reporter: Tim Graham | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Core (Other) | Version: master
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 |
------------------------------------------------+------------------------
There are a number of `sys.version_info` checks in Django. It would reduce
repetition if values like `PY36` (similar to `six.PY2` and `six.PY3`) were
importable from `django.utils.version`. This is intended to be a private
but stable API so that third-party apps can also use these values.
--
Ticket URL: <https://code.djangoproject.com/ticket/28708>
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/052.b7a6e58e576ace4920d0b3fe490eb631%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.