STINNER Victor <vstin...@python.org> added the comment:

Oh no,  PyEval_AcquireLock() and PyEval_ReleaseLock() are part of the limited C 
API (and so the stable ABI). Sadly, we have to keep them. I close the issue as 
rejected.


> We cannot just remove functions from stable ABI.

Alright, sadly it's part of the limited C API :-(

> We can undocument them, remove their declaration from header files, but we 
> can't remove the implementation. Just make them always failing.

Since I found a few projects using these functions, I'm no longer sure that 
it's worth it to remove these functions.

Continuing to maintain these functions is not really a major maintenance burden 
right now. So I simply close this issue.

If someone disagree, you can propose an implementation of Serhiy's suggestion.

----------
resolution:  -> rejected
stage: patch review -> resolved
status: open -> closed

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

Reply via email to