]> granicus.if.org Git - python/commitdiff
The addition of new parameters to functions in the Python/C API requires
authorFred Drake <fdrake@acm.org>
Thu, 25 Jan 2001 22:13:34 +0000 (22:13 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 25 Jan 2001 22:13:34 +0000 (22:13 +0000)
that PYTHON_API_VERSION be incremented.

Include/modsupport.h

index 54c7addf4142ee5fddf282c84654fafa89f6fc4b..4a40499eb564ff34d1f3ec5d9c739d31acf38b3a 100644 (file)
@@ -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!)