From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 20 Nov 2024 08:51:19 +0000 (+0100) Subject: [3.13] Doc: C API: `PyThreadState::on_delete` was removed in v3.13 (GH-126536) (... X-Git-Tag: v3.13.1~80 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd9c2a372704ae07654ca9841261834b0738757a;p=thirdparty%2FPython%2Fcpython.git [3.13] Doc: C API: `PyThreadState::on_delete` was removed in v3.13 (GH-126536) (#127053) Doc: C API: `PyThreadState::on_delete` was removed in v3.13 (GH-126536) (cherry picked from commit 9bca3ef575a088d3330a2743e36423aa5f7bdad8) Co-authored-by: Richard Hansen --- diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 39eb7fe43944..48e24e64cd08 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -1332,6 +1332,9 @@ All of the following functions must be called after :c:func:`Py_Initialize`. This function now calls the :c:member:`PyThreadState.on_delete` callback. Previously, that happened in :c:func:`PyThreadState_Delete`. + .. versionchanged:: 3.13 + The :c:member:`PyThreadState.on_delete` callback was removed. + .. c:function:: void PyThreadState_Delete(PyThreadState *tstate)