From 9d8ae05ad4578f06a60501bf3db98c939d2ca967 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Wed, 17 Jun 2026 11:43:35 +0300 Subject: [PATCH] gh-151584: Remove `PyUnstable_Module_SetGIL` call in `_remote_debugging` --- Modules/_remote_debugging/module.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/Modules/_remote_debugging/module.c b/Modules/_remote_debugging/module.c index 984213d1881752..36115f20d9d4cc 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;