From 6a684470bad6424ae65f5b4067aa22300ccc3c9a Mon Sep 17 00:00:00 2001 From: Andrew Kuchling Date: Sun, 8 May 2016 22:15:27 -0400 Subject: [PATCH 1/4] Add link to 3.5 what's-new --- site/_templates/sections/whatispython.mako | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/site/_templates/sections/whatispython.mako b/site/_templates/sections/whatispython.mako index 8770320..8c04bd0 100644 --- a/site/_templates/sections/whatispython.mako +++ b/site/_templates/sections/whatispython.mako @@ -49,9 +49,10 @@ language changes between 2.7 and 3.x, and discusses likely sources of incompatibility with existing Python 2.x code.

Later versions of Python 3.x added more features, discussed in a series of - "What's New" documents for + "What's New" documents for Python 3.1, Python 3.2, -Python 3.3, and -Python 3.4. +Python 3.3, +Python 3.4, and +Python 3.5.

From 7735ac07ae5c7e5072d27b011f51e1b11816decd Mon Sep 17 00:00:00 2001 From: Andrew Kuchling Date: Sun, 8 May 2016 22:20:54 -0400 Subject: [PATCH 2/4] Remove list of features (too much updating!) --- site/_templates/sections/download.mako | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/site/_templates/sections/download.mako b/site/_templates/sections/download.mako index e5a1a5e..dae4f14 100644 --- a/site/_templates/sections/download.mako +++ b/site/_templates/sections/download.mako @@ -1,25 +1,7 @@

Download Information

-

The most current version of Python 3 is ${python_stable_exact} - here's a list of -new things added: +

The most current version of Python 3 is ${python_stable_exact}.

- -

- -

You can see details on what's changed by looking at the "You can see details of what's changed by looking at the "What's New in ${python_stable_major}" document, as well as the earlier What's New articles, and the Date: Sun, 8 May 2016 22:22:55 -0400 Subject: [PATCH 3/4] Update configuration settings; add a setting for Python 2.7 --- site/_config.py | 13 +++++++++++-- site/_templates/sections/whatispython.mako | 4 ++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/site/_config.py b/site/_config.py index 7ec97a5..d5b5041 100644 --- a/site/_config.py +++ b/site/_config.py @@ -25,10 +25,19 @@ site.template_vars = { # The full version number of the latest stable version, e.g. 3.4.0 # or 3.5.2. - 'python_stable_exact': '3.4.0', + 'python_stable_exact': '3.5.1', # Version number of latest stable version, leaving off the minor number # e.g. 3.4 or 3.5. - 'python_stable_major': '3.4', + 'python_stable_major': '3.5', + + # Month, year of 3.5 release + 'python_stable_date': 'December 2015', + + # The full version number of latest 2.7 release + 'python27_exact': '2.7.11', + + # Month, year of most recent 2.7 release + 'python27_date': 'December 2015', } diff --git a/site/_templates/sections/whatispython.mako b/site/_templates/sections/whatispython.mako index 8c04bd0..035e943 100644 --- a/site/_templates/sections/whatispython.mako +++ b/site/_templates/sections/whatispython.mako @@ -5,13 +5,13 @@

Although most Python code is currently written for Python 2.x, Python 3.x is the present and future of the language.

-

Python 2.7.6 was released in November 2013. +

Python ${python27_exact} was released in ${python27_date}. The 2.x branch will have no further major releases, though the 2.7 end-of-life release will have an extended period of bug and security fixes.

Python 3.x continues to be actively developed. The most recent -release is Python ${python_stable_major}, released in March 2014.

+release is Python ${python_stable_exact}, released in ${python_stable_date}.

Detailed discussion

From 3867411a8e05fe03fa9ad33833ed3e26074df2ad Mon Sep 17 00:00:00 2001 From: Andrew Kuchling Date: Wed, 24 Aug 2016 14:22:46 -0400 Subject: [PATCH 4/4] Update 3.5, 2.7 versions and release dates --- site/_config.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/site/_config.py b/site/_config.py index d5b5041..71357ce 100644 --- a/site/_config.py +++ b/site/_config.py @@ -25,19 +25,19 @@ site.template_vars = { # The full version number of the latest stable version, e.g. 3.4.0 # or 3.5.2. - 'python_stable_exact': '3.5.1', + 'python_stable_exact': '3.5.2', # Version number of latest stable version, leaving off the minor number # e.g. 3.4 or 3.5. 'python_stable_major': '3.5', # Month, year of 3.5 release - 'python_stable_date': 'December 2015', + 'python_stable_date': 'June 2016', # The full version number of latest 2.7 release - 'python27_exact': '2.7.11', + 'python27_exact': '2.7.12', # Month, year of most recent 2.7 release - 'python27_date': 'December 2015', + 'python27_date': 'June 2016', }