diff options
author | Fred Drake <fdrake@acm.org> | 2001-01-25 22:13:34 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-01-25 22:13:34 (GMT) |
commit | 73a3c8fae431c052328635650715067669b39d2f (patch) | |
tree | 5eb74e9a1d65312c060c816208f694618ee0451d /Include/modsupport.h | |
parent | 2b597e4f54a4fb5ba50b9be617aa0cb2eb1ace9f (diff) | |
download | cpython-73a3c8fae431c052328635650715067669b39d2f.zip cpython-73a3c8fae431c052328635650715067669b39d2f.tar.gz cpython-73a3c8fae431c052328635650715067669b39d2f.tar.bz2 |
The addition of new parameters to functions in the Python/C API requires
that PYTHON_API_VERSION be incremented.
Diffstat (limited to 'Include/modsupport.h')
-rw-r--r-- | Include/modsupport.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Include/modsupport.h b/Include/modsupport.h index 54c7add..4a40499 100644 --- a/Include/modsupport.h +++ b/Include/modsupport.h @@ -22,8 +22,8 @@ extern DL_IMPORT(int) PyModule_AddObject(PyObject *, char *, PyObject *); extern DL_IMPORT(int) PyModule_AddIntConstant(PyObject *, char *, long); extern DL_IMPORT(int) PyModule_AddStringConstant(PyObject *, char *, char *); -#define PYTHON_API_VERSION 1009 -#define PYTHON_API_STRING "1009" +#define PYTHON_API_VERSION 1010 +#define PYTHON_API_STRING "1010" /* The API version is maintained (independently from the Python version) so we can detect mismatches between the interpreter and dynamically loaded modules. These are diagnosed by an error message but @@ -37,6 +37,9 @@ extern DL_IMPORT(int) PyModule_AddStringConstant(PyObject *, char *, char *); Please add a line or two to the top of this log for each API version change: + 25-Jan-2001 FLD 1010 Parameters added to PyCode_New() and + PyFrame_New(); Python 2.1a2 + 14-Mar-2000 GvR 1009 Unicode API added 3-Jan-1999 GvR 1007 Decided to change back! (Don't reuse 1008!) |