From c199ae139470b333e829b337c3409eda3c5841c8 Mon Sep 17 00:00:00 2001 From: Bernardo Fontes Date: Fri, 2 Oct 2020 13:35:42 -0300 Subject: [PATCH 01/11] Ignore __pycache__ and sqlite3 database (#1647) --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index dadf9b4ff..652363d27 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,5 @@ static-root/ static/stylesheets/mq.css static/stylesheets/no-mq.css static/stylesheets/style.css +__pycache__ +*.db From d9911608132bc5eb3963d9793afd49075b2dc3e3 Mon Sep 17 00:00:00 2001 From: Christopher Wilcox Date: Fri, 2 Oct 2020 10:33:57 -0700 Subject: [PATCH 02/11] Update Release Status of Python 3.5 on downloads page (#1648) --- templates/downloads/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/downloads/index.html b/templates/downloads/index.html index 05c5e62fc..57a66bbba 100644 --- a/templates/downloads/index.html +++ b/templates/downloads/index.html @@ -74,9 +74,9 @@

Active Python Releases

  • 3.5 - security + end-of-life 2015-09-13 - 2020-09-13 + 2020-09-05 PEP 478
  • From 0f07e9daf14e9f45853b61b7e9724c3741870762 Mon Sep 17 00:00:00 2001 From: Satyam Kulkarni <40713709+sk1122@users.noreply.github.com> Date: Sun, 4 Oct 2020 23:47:29 +0530 Subject: [PATCH 03/11] Add link to Python glossary page at /doc/ (#1650) Fixes #1620 --- templates/python/documentation.html | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/python/documentation.html b/templates/python/documentation.html index eb4940c7a..5840dd50d 100644 --- a/templates/python/documentation.html +++ b/templates/python/documentation.html @@ -68,6 +68,7 @@

    P
  • Python/C API
  • Using Python
  • Python HOWTOs
  • +
  • Glossary
  • Search the online docs
  • From c28c19a427872477b560215ca3c76e38ac5ffa58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Langa?= Date: Mon, 5 Oct 2020 19:34:56 +0200 Subject: [PATCH 04/11] Move "Active Python Releases" into a box (#1657) That way we don't have to redeploy the website every time we release a new point version of Python or change the status of a given branch. --- templates/downloads/index.html | 45 +--------------------------------- 1 file changed, 1 insertion(+), 44 deletions(-) diff --git a/templates/downloads/index.html b/templates/downloads/index.html index 57a66bbba..fc4ea95c7 100644 --- a/templates/downloads/index.html +++ b/templates/downloads/index.html @@ -43,50 +43,7 @@

    Download the latest version of Python

    Active Python Releases

    For more information visit the Python Developer's Guide.

    -
    - Python version - Maintenance status - First released - End of support - Release schedule -
    - + {% box 'downloads-active-releases' %} From 802aa1e9c7499fd178bad75b7768760ef4c0b049 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Mon, 5 Oct 2020 13:39:57 -0400 Subject: [PATCH 05/11] Update Windows download popup and list for 3.9. (#1611) (#1655) --- templates/downloads/os_list.html | 8 ++++++-- templates/downloads/supernav.html | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/templates/downloads/os_list.html b/templates/downloads/os_list.html index c49f004c6..591aac148 100644 --- a/templates/downloads/os_list.html +++ b/templates/downloads/os_list.html @@ -38,8 +38,12 @@

    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.

    + {% if os.slug == 'windows' %} + {% if r.name >= 'Python 3.9' %} +

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

    + {% elif r.name >= 'Python 3.5' %} +

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

    + {% endif %} {% endif %}