]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-151584: Remove `PyUnstable_Module_SetGIL` call in `_remote_debugging` (#151585)
authorsobolevn <mail@sobolevn.me>
Wed, 17 Jun 2026 12:37:08 +0000 (15:37 +0300)
committerGitHub <noreply@github.com>
Wed, 17 Jun 2026 12:37:08 +0000 (15:37 +0300)
Modules/_remote_debugging/module.c

index 984213d188175237a867bac8ebd320a565865463..36115f20d9d4ccc8af1b4b451843909a7eee7289 100644 (file)
@@ -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;