New submission from Petr Viktorin <encu...@gmail.com>:

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.

The situation may have changed and it might be reasonable to revisit this 
decision, but that would call for a larger discussion. There are FILE*-taking 
functions that are probably much ore useful than this one. (But, I think it's a 
good idea to limit the stable ABI to file-like Python objects anyway.)

I see PEP 384 as being definitive (where it's not ambiguous). The python3dll.c 
list and public/private headers do not actually define the stable ABI.

So, I'd like to remove the function from the list.


---

(*) it was actually PC/python3.def in 3.2

----------
components: C API, Windows
messages: 391206
nosy: paul.moore, petr.viktorin, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Remove PyOS_ReadlineFunctionPointer from the stable ABI list
versions: Python 3.10

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43868>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to