mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Ellipses -> Ellipsis rename (the dictionary really says that it should
be Ellipsis!). Bumped the API version because a linker-visible symbol is affected. Old C code will still compile -- there's a b/w compat macro. Similarly, old Python code will still run, builtin exports both Ellipses and Ellipsis.
This commit is contained in:
parent
8741b2b988
commit
e449af7da9
7 changed files with 28 additions and 24 deletions
|
@ -52,8 +52,8 @@ 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 1005
|
||||
#define PYTHON_API_STRING "1005"
|
||||
#define PYTHON_API_VERSION 1006
|
||||
#define PYTHON_API_STRING "1006"
|
||||
/* The API version is maintained (independently from the Python version)
|
||||
so we can detect mismatches between the interpreter and dynamically
|
||||
loaded modules. These are diagnosticised by an error message but
|
||||
|
@ -67,6 +67,8 @@ extern PyObject *Py_VaBuildValue Py_PROTO((char *, va_list));
|
|||
Please add a line or two to the top of this log for each API
|
||||
version change:
|
||||
|
||||
11-Oct-1996 GvR renamed Py_Ellipses to Py_Ellipsis :-(
|
||||
|
||||
30-Jul-1996 GvR Slice and ellipses syntax added
|
||||
|
||||
23-Jul-1996 GvR For 1.4 -- better safe than sorry this time :-)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue