Version updated to 1.6; API version to 1009.
This commit is contained in:
parent
632de27021
commit
21a50bd078
|
@ -61,8 +61,8 @@ extern DL_IMPORT(PyObject *) Py_BuildValue();
|
|||
extern DL_IMPORT(int) PyArg_VaParse Py_PROTO((PyObject *, char *, va_list));
|
||||
extern DL_IMPORT(PyObject *) Py_VaBuildValue Py_PROTO((char *, va_list));
|
||||
|
||||
#define PYTHON_API_VERSION 1007
|
||||
#define PYTHON_API_STRING "1007"
|
||||
#define PYTHON_API_VERSION 1009
|
||||
#define PYTHON_API_STRING "1009"
|
||||
/* The API version is maintained (independently from the Python version)
|
||||
so we can detect mismatches between the interpreter and dynamically
|
||||
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));
|
|||
Please add a line or two to the top of this log for each API
|
||||
version change:
|
||||
|
||||
14-Mar-2000 GvR 1009 Unicode API added
|
||||
|
||||
3-Jan-1999 GvR 1007 Decided to change back! (Don't reuse 1008!)
|
||||
|
||||
3-Dec-1998 GvR 1008 Python 1.5.2b1
|
||||
|
|
|
@ -50,16 +50,16 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
|
||||
/* Version parsed out into numeric values */
|
||||
#define PY_MAJOR_VERSION 1
|
||||
#define PY_MINOR_VERSION 5
|
||||
#define PY_MICRO_VERSION 2
|
||||
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
|
||||
#define PY_MINOR_VERSION 6
|
||||
#define PY_MICRO_VERSION 0
|
||||
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
|
||||
#define PY_RELEASE_SERIAL 0
|
||||
|
||||
/* Version as a string */
|
||||
#define PY_VERSION "1.5.2+"
|
||||
#define PY_VERSION "1.6a0"
|
||||
|
||||
/* Historic */
|
||||
#define PATCHLEVEL "1.5.2+"
|
||||
#define PATCHLEVEL "1.6a0"
|
||||
|
||||
/* 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…
Reference in New Issue