summaryrefslogtreecommitdiffstats
path: root/Include/patchlevel.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-04-07 16:00:20 (GMT)
committerGuido van Rossum <guido@python.org>1999-04-07 16:00:20 (GMT)
commitbd341fa82a267dae42d1e969740f80ed89870dc7 (patch)
tree203e8369345444725e4c2306ffcd1abbed657c11 /Include/patchlevel.h
parent7969f31c4d7b092a37a4926604d4c89a4a07df21 (diff)
downloadcpython-bd341fa82a267dae42d1e969740f80ed89870dc7.zip
cpython-bd341fa82a267dae42d1e969740f80ed89870dc7.tar.gz
cpython-bd341fa82a267dae42d1e969740f80ed89870dc7.tar.bz2
Add the possibility of a gamma release (release candidate).
Add '+' to string version number to indicate we're beyond b2 now.
Diffstat (limited to 'Include/patchlevel.h')
-rw-r--r--Include/patchlevel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Include/patchlevel.h b/Include/patchlevel.h
index d0c394f..01a860a 100644
--- a/Include/patchlevel.h
+++ b/Include/patchlevel.h
@@ -44,6 +44,7 @@ PERFORMANCE OF THIS SOFTWARE.
/* Values for PY_RELEASE_LEVEL */
#define PY_RELEASE_LEVEL_ALPHA 0xA
#define PY_RELEASE_LEVEL_BETA 0xB
+#define PY_RELEASE_LEVEL_GAMMA 0xC
#define PY_RELEASE_LEVEL_FINAL 0xF /* Serial should be 0 here */
/* Version parsed out into numeric values */
@@ -54,10 +55,10 @@ PERFORMANCE OF THIS SOFTWARE.
#define PY_RELEASE_SERIAL 2
/* Version as a string */
-#define PY_VERSION "1.5.2b2"
+#define PY_VERSION "1.5.2b2+"
/* Historic */
-#define PATCHLEVEL "1.5.2b2"
+#define PATCHLEVEL "1.5.2b2+"
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
Use this for numeric comparisons, e.g. #if PY_VERSION_HEX >= ... */