diff options
author | Petr Viktorin <encukou@gmail.com> | 2021-04-23 12:23:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-23 12:23:38 (GMT) |
commit | 91b69b77cf5f78de6d35dea23098df34b6fd9e53 (patch) | |
tree | cfa9ffbc8a6fc3afd478e89e25be073570b78387 /Include/cpython | |
parent | dcf658157df11de198a98e3db2a3050dd4f6b973 (diff) | |
download | cpython-91b69b77cf5f78de6d35dea23098df34b6fd9e53.zip cpython-91b69b77cf5f78de6d35dea23098df34b6fd9e53.tar.gz cpython-91b69b77cf5f78de6d35dea23098df34b6fd9e53.tar.bz2 |
bpo-43868: Remove PyOS_ReadlineFunctionPointer from the stable ABI list (GH-25442)
The inclusion of PyOS_ReadlineFunctionPointer in python3dll.c was a mistake.
According to PEP 384:
> functions expecting FILE* are not part of the ABI, to avoid depending
> on a specific version of the Microsoft C runtime DLL on Windows.
https://bugs.python.org/issue43868
Diffstat (limited to 'Include/cpython')
-rw-r--r-- | Include/cpython/pythonrun.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/cpython/pythonrun.h b/Include/cpython/pythonrun.h index ffca0e45..2e72d08 100644 --- a/Include/cpython/pythonrun.h +++ b/Include/cpython/pythonrun.h @@ -118,3 +118,4 @@ PyAPI_FUNC(PyObject *) PyRun_FileFlags(FILE *fp, const char *p, int s, PyObject /* Stuff with no proper home (yet) */ PyAPI_FUNC(char *) PyOS_Readline(FILE *, FILE *, const char *); PyAPI_DATA(PyThreadState*) _PyOS_ReadlineTState; +PyAPI_DATA(char) *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE *, const char *); |