cpython/Modules/_io
Victor Stinner 84caa3324a
gh-106084: Remove _PyObject_CallMethod() function (#106159)
Remove the following private functions from the public C API:

* _Py_CheckFunctionResult()
* _PyObject_CallMethod()
* _PyObject_CallMethodId()
* _PyObject_CallMethodIdNoArgs()
* _PyObject_CallMethodIdObjArgs()
* _PyObject_CallMethodIdOneArg()
* _PyObject_MakeTpCall()
* _PyObject_VectorcallMethodId()
* _PyStack_AsDict()

Move these functions to the internal C API (pycore_call.h).

No longer export the following functions:

* _PyObject_Call()
* _PyObject_CallMethod()
* _PyObject_CallMethodId()
* _PyObject_CallMethodIdObjArgs()
* _PyObject_Call_Prepend()
* _PyObject_FastCallDictTstate()
* _PyStack_AsDict()

The following functions are still exported for stdlib shared
extensions:

* _Py_CheckFunctionResult()
* _PyObject_MakeTpCall()

Mark the following internal functions as extern:

* _PyStack_UnpackDict()
* _PyStack_UnpackDict_Free()
* _PyStack_UnpackDict_FreeNoDecRef()
2023-06-28 01:34:37 +02:00
..
clinic gh-92536: Argument Clinic no longer emits PyUnicode_READY() (#105208) 2023-06-02 01:31:58 +02:00
_iomodule.c gh-101819: Isolate _io (#101948) 2023-05-15 09:26:27 +00:00
_iomodule.h gh-101819: Isolate _io (#101948) 2023-05-15 09:26:27 +00:00
bufferedio.c GH-104510: Fix refleaks in _io base types (#104516) 2023-05-16 20:08:17 +05:30
bytesio.c gh-101819: Isolate _io (#101948) 2023-05-15 09:26:27 +00:00
fileio.c gh-105156: Deprecate the old Py_UNICODE type in C API (#105157) 2023-06-01 08:56:35 +02:00
iobase.c gh-106084: Remove _PyObject_CallMethod() function (#106159) 2023-06-28 01:34:37 +02:00
stringio.c gh-92536: Remove PyUnicode_READY() calls (#105210) 2023-06-02 01:33:17 +02:00
textio.c gh-106084: Remove _PyObject_CallMethod() function (#106159) 2023-06-28 01:34:37 +02:00
winconsoleio.c gh-101819: Isolate _io (#101948) 2023-05-15 09:26:27 +00:00