Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ae8a99e

Browse files
committed
Two bumps for the price of one (PYTHON_API_VERSION)
1 parent 26a70f6 commit ae8a99e

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

Include/modsupport.h

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,21 @@ extern PyObject *Py_BuildValue();
5252
extern int PyArg_VaParse Py_PROTO((PyObject *, char *, va_list));
5353
extern PyObject *Py_VaBuildValue Py_PROTO((char *, va_list));
5454

55-
#define PYTHON_API_VERSION 1003
55+
#define PYTHON_API_VERSION 1005
5656
/* The API version is maintained (independently from the Python version)
5757
so we can detect mismatches between the interpreter and dynamically
58-
loaded modules.
58+
loaded modules. These are diagnosticised by an error message but
59+
the module is still loaded (because the mismatch can only be tested
60+
after loading the module). The error message is intended to
61+
explain the core dump a few seconds later.
5962
6063
Please add a line or two to the top of this log for each API
6164
version change:
6265
66+
30-Jul-1996 GvR Slice and ellipses syntax added
67+
68+
23-Jul-1996 GvR For 1.4 -- better safe than sorry this time :-)
69+
6370
7-Nov-1995 GvR Keyword arguments (should've been done at 1.3 :-( )
6471
6572
10-Jan-1995 GvR Renamed globals to new naming scheme

0 commit comments

Comments
 (0)