aboutsummaryrefslogtreecommitdiff
path: root/Include/pythonrun.h
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2021-04-23 14:23:38 +0200
committerGitHub <noreply@github.com>2021-04-23 14:23:38 +0200
commit91b69b77cf5f78de6d35dea23098df34b6fd9e53 (patch)
treecfa9ffbc8a6fc3afd478e89e25be073570b78387 /Include/pythonrun.h
parentdcf658157df11de198a98e3db2a3050dd4f6b973 (diff)
downloadcpython3-91b69b77cf5f78de6d35dea23098df34b6fd9e53.tar.gz
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/pythonrun.h')
-rw-r--r--Include/pythonrun.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index b87bc73890..b0a2fc3002 100644
--- a/Include/pythonrun.h
+++ b/Include/pythonrun.h
@@ -16,7 +16,6 @@ PyAPI_FUNC(void) PyErr_Display(PyObject *, PyObject *, PyObject *);
/* Stuff with no proper home (yet) */
PyAPI_DATA(int) (*PyOS_InputHook)(void);
-PyAPI_DATA(char) *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE *, const char *);
/* Stack size, in "pointers" (so we get extra safety margins
on 64-bit platforms). On a 32-bit platform, this translates