From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 17 Jun 2026 14:10:31 +0000 (+0200) Subject: [3.15] gh-151584: Remove `PyUnstable_Module_SetGIL` call in `_remote_debugging` ... X-Git-Tag: v3.15.0b3~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=821e5d79fa238e7e5e8bc59c72d53edf52d3b168;p=thirdparty%2FPython%2Fcpython.git [3.15] gh-151584: Remove `PyUnstable_Module_SetGIL` call in `_remote_debugging` (GH-151585) (#151603) gh-151584: Remove `PyUnstable_Module_SetGIL` call in `_remote_debugging` (GH-151585) (cherry picked from commit a173a6d65ba0eb77776ca4f7f1cb277877a43f9b) Co-authored-by: sobolevn --- diff --git a/Modules/_remote_debugging/module.c b/Modules/_remote_debugging/module.c index 984213d18817..36115f20d9d4 100644 --- a/Modules/_remote_debugging/module.c +++ b/Modules/_remote_debugging/module.c @@ -1624,9 +1624,6 @@ _remote_debugging_exec(PyObject *m) return -1; } -#ifdef Py_GIL_DISABLED - PyUnstable_Module_SetGIL(m, Py_MOD_GIL_NOT_USED); -#endif int rc = PyModule_AddIntConstant(m, "PROCESS_VM_READV_SUPPORTED", HAVE_PROCESS_VM_READV); if (rc < 0) { return -1;