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 /Doc | |
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 'Doc')
-rw-r--r-- | Doc/whatsnew/3.10.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index 1c2919a..67e03f2 100644 --- a/Doc/whatsnew/3.10.rst +++ b/Doc/whatsnew/3.10.rst @@ -1740,6 +1740,12 @@ Removed Use Python :mod:`symtable` module instead. (Contributed by Victor Stinner in :issue:`43244`.) +* Remove :c:func:`PyOS_ReadlineFunctionPointer` from the limited C API headers + and from ``python3.dll``, the library that provides the stable ABI on + Windows. Since the function takes a ``FILE*`` argument, its ABI stability + cannot be guaranteed. + (Contributed by Petr Viktorin in :issue:`43868`.) + * Remove ``ast.h``, ``asdl.h``, and ``Python-ast.h`` header files. These functions were undocumented and excluded from the limited C API. Most names defined by these header files were not prefixed by ``Py`` and so |