Le lun. 15 juin 2020 à 16:36, Matti Picus matti.picus@gmail.com a écrit :
On 6/15/20 2:47 PM, M.-A. Lemburg wrote:
FWIW: I don't see problems for other implementations to provide the above API, but perhaps I'm missing something.
The problem is that there is no pure python equivalent, and the other implementations have to spend quite a lot of effort mimicking the obscure corners of the C-API. In my opinion, any public C-API function should mirror a python equivalent. Python has no overt language specification, but I would hope one of the underlying principles would be to expose the same paradigms in python and C.
I concur with Matti here.
Moreover, as I explained in my previous email, it's easy to rewrite a constructor to avoid relying on (removed) private functions of the Python C API.
There is no need to add any new feature here. Just fix your code ;-)
Victor
Night gathers, and now my watch begins. It shall not end until my death.