id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 28708 Add constants to detect the Python version Tim Graham nobody 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. Cleanup/optimization closed Core (Other) dev Normal fixed Accepted 1 0 0 0 0 0