There was an error while loading. Please reload this page.
_PyTrash_begin
_PyTrash_end
1 parent 3893a92 commit f48702dCopy full SHA for f48702d
2 files changed
Include/cpython/object.h
@@ -475,9 +475,6 @@ partially-deallocated object. To check this, the tp_dealloc function must be
475
passed as second argument to Py_TRASHCAN_BEGIN().
476
*/
477
478
-/* Python 3.9 private API, invoked by the macros below. */
479
-PyAPI_FUNC(int) _PyTrash_begin(PyThreadState *tstate, PyObject *op);
480
-PyAPI_FUNC(void) _PyTrash_end(PyThreadState *tstate);
481
482
PyAPI_FUNC(void) _PyTrash_thread_deposit_object(PyThreadState *tstate, PyObject *op);
483
PyAPI_FUNC(void) _PyTrash_thread_destroy_chain(PyThreadState *tstate);
Misc/NEWS.d/next/Core_and_Builtins/2025-01-16-18-16-18.gh-issue-128910.9pqfab.rst
@@ -0,0 +1,2 @@
1
+Undocumented and unused private C-API functions ``_PyTrash_begin`` and
2
+``_PyTrash_end`` are removed.
0 commit comments