[python-committers] changing the python version on the 2.7 branch

Matthias Klose doko at ubuntu.com
Wed Apr 1 21:05:16 CEST 2015


We'll have the 2.7.10 release in the coming months. This will be the first
release with a two digit subminor version number, so please could we prepare for
that early?  Feature tests in python are unfortunately way too often based on
version comparisons.  Suggesting to push the following patch to the 2.7 branch.

The patch also changes PY_RELEASE_LEVEL to "beta" quality.  Currently this is a
value which is not touched on the branches.

Matthias


diff -r d444496e714a Include/patchlevel.h
--- a/Include/patchlevel.h	Wed Apr 01 16:53:53 2015 +0300
+++ b/Include/patchlevel.h	Wed Apr 01 20:56:46 2015 +0200
@@ -22,12 +22,12 @@
 /*--start constants--*/
 #define PY_MAJOR_VERSION	2
 #define PY_MINOR_VERSION	7
-#define PY_MICRO_VERSION	9
-#define PY_RELEASE_LEVEL	PY_RELEASE_LEVEL_FINAL
+#define PY_MICRO_VERSION	10
+#define PY_RELEASE_LEVEL	PY_RELEASE_LEVEL_BETA
 #define PY_RELEASE_SERIAL	0

 /* Version as a string */
-#define PY_VERSION      	"2.7.9+"
+#define PY_VERSION      	"2.7.10-"
 /*--end constants--*/

 /* Subversion Revision number of this file (not of the repository). Empty


More information about the python-committers mailing list