From ae8a99e3f598b2f358ae688e46fcbf5b48a76dd7 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 30 Jul 1996 16:41:02 +0000 Subject: [PATCH] Two bumps for the price of one (PYTHON_API_VERSION) --- Include/modsupport.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Include/modsupport.h b/Include/modsupport.h index 1ad4715fc42..c6ea541193b 100644 --- a/Include/modsupport.h +++ b/Include/modsupport.h @@ -52,14 +52,21 @@ extern PyObject *Py_BuildValue(); extern int PyArg_VaParse Py_PROTO((PyObject *, char *, va_list)); extern PyObject *Py_VaBuildValue Py_PROTO((char *, va_list)); -#define PYTHON_API_VERSION 1003 +#define PYTHON_API_VERSION 1005 /* The API version is maintained (independently from the Python version) so we can detect mismatches between the interpreter and dynamically - loaded modules. + loaded modules. These are diagnosticised by an error message but + the module is still loaded (because the mismatch can only be tested + after loading the module). The error message is intended to + explain the core dump a few seconds later. Please add a line or two to the top of this log for each API version change: + 30-Jul-1996 GvR Slice and ellipses syntax added + + 23-Jul-1996 GvR For 1.4 -- better safe than sorry this time :-) + 7-Nov-1995 GvR Keyword arguments (should've been done at 1.3 :-( ) 10-Jan-1995 GvR Renamed globals to new naming scheme