summaryrefslogtreecommitdiffstats
path: root/Include/modsupport.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-07-30 16:41:02 (GMT)
committerGuido van Rossum <guido@python.org>1996-07-30 16:41:02 (GMT)
commitae8a99e3f598b2f358ae688e46fcbf5b48a76dd7 (patch)
treef063d4eb057e4b92c4fc62e076b69db75394e93b /Include/modsupport.h
parent26a70f6b32b8d5981bb9e39cc37f709dd7acf043 (diff)
downloadcpython-ae8a99e3f598b2f358ae688e46fcbf5b48a76dd7.zip
cpython-ae8a99e3f598b2f358ae688e46fcbf5b48a76dd7.tar.gz
cpython-ae8a99e3f598b2f358ae688e46fcbf5b48a76dd7.tar.bz2
Two bumps for the price of one (PYTHON_API_VERSION)
Diffstat (limited to 'Include/modsupport.h')
-rw-r--r--Include/modsupport.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/Include/modsupport.h b/Include/modsupport.h
index 1ad4715f..c6ea541 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