]> granicus.if.org Git - python/commitdiff
Two bumps for the price of one (PYTHON_API_VERSION)
authorGuido van Rossum <guido@python.org>
Tue, 30 Jul 1996 16:41:02 +0000 (16:41 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 30 Jul 1996 16:41:02 +0000 (16:41 +0000)
Include/modsupport.h

index 1ad4715fc42498fbef8b8ed31915227ec7a7fd96..c6ea541193b830c5854a325cc06b14b8aa4f12bd 100644 (file)
@@ -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