Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 21a50bd

Browse files
committed
Version updated to 1.6; API version to 1009.
1 parent 632de27 commit 21a50bd

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

Include/modsupport.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ extern DL_IMPORT(PyObject *) Py_BuildValue();
6161
extern DL_IMPORT(int) PyArg_VaParse Py_PROTO((PyObject *, char *, va_list));
6262
extern DL_IMPORT(PyObject *) Py_VaBuildValue Py_PROTO((char *, va_list));
6363

64-
#define PYTHON_API_VERSION 1007
65-
#define PYTHON_API_STRING "1007"
64+
#define PYTHON_API_VERSION 1009
65+
#define PYTHON_API_STRING "1009"
6666
/* The API version is maintained (independently from the Python version)
6767
so we can detect mismatches between the interpreter and dynamically
6868
loaded modules. These are diagnosticised by an error message but
@@ -76,6 +76,8 @@ extern DL_IMPORT(PyObject *) Py_VaBuildValue Py_PROTO((char *, va_list));
7676
Please add a line or two to the top of this log for each API
7777
version change:
7878
79+
14-Mar-2000 GvR 1009 Unicode API added
80+
7981
3-Jan-1999 GvR 1007 Decided to change back! (Don't reuse 1008!)
8082
8183
3-Dec-1998 GvR 1008 Python 1.5.2b1

Include/patchlevel.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@ PERFORMANCE OF THIS SOFTWARE.
5050

5151
/* Version parsed out into numeric values */
5252
#define PY_MAJOR_VERSION 1
53-
#define PY_MINOR_VERSION 5
54-
#define PY_MICRO_VERSION 2
55-
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
53+
#define PY_MINOR_VERSION 6
54+
#define PY_MICRO_VERSION 0
55+
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
5656
#define PY_RELEASE_SERIAL 0
5757

5858
/* Version as a string */
59-
#define PY_VERSION "1.5.2+"
59+
#define PY_VERSION "1.6a0"
6060

6161
/* Historic */
62-
#define PATCHLEVEL "1.5.2+"
62+
#define PATCHLEVEL "1.6a0"
6363

6464
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
6565
Use this for numeric comparisons, e.g. #if PY_VERSION_HEX >= ... */

0 commit comments

Comments
 (0)