From fd32294a35cdde0cc2597bd6e81b0c3ce156e383 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Fri, 13 Oct 2017 10:48:50 +0300 Subject: [PATCH] Warn users Python 3.5+ doesn't work on Windows XP Fixes #848 --- templates/downloads/os_list.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/downloads/os_list.html b/templates/downloads/os_list.html index 07ac6c7dd..c49f004c6 100644 --- a/templates/downloads/os_list.html +++ b/templates/downloads/os_list.html @@ -38,6 +38,9 @@

Stable Releases

{% for r in releases %}
  • {{ r.name }} - {{ r.release_date|date }} + {% if os.slug == 'windows' and r.name >= 'Python 3.5' %} +

    Note that {{ r.name }} cannot be used on Windows XP or earlier.

    + {% endif %}