mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Add the possibility of a gamma release (release candidate).
Add '+' to string version number to indicate we're beyond b2 now.
This commit is contained in:
parent
7969f31c4d
commit
bd341fa82a
1 changed files with 3 additions and 2 deletions
|
@ -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 >= ... */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue