[issue29548] Recommend PyObject_Call* APIs over PyEval_Call*() APIs

Jeroen Demeyer report at bugs.python.org
Thu Jul 11 05:11:37 EDT 2019


Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:

I understand the arguments for not removing these functions. However, I still think that we should deprecate them but without planning in advance when they should be removed. Victor said that we should document these functions as "please don't use them", and that is exactly what a deprecation message accomplishes.

Most other projects that I know have only a minimum deprecation period (i.e. feature X can only be removed if it was deprecated for Y time). I don't understand why CPython insists that the minimum of 2 releases should also be a maximum (i.e. feature X MUST be removed after it was deprecated for Y time). I don't see the problem with long-term deprecations for stuff that we don't plan to remove soon.

----------
nosy: +jdemeyer

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue29548>
_______________________________________


More information about the Python-bugs-list mailing list