https://github.com/python/cpython/commit/a173a6d65ba0eb77776ca4f7f1cb277877a43f9b
commit: a173a6d65ba0eb77776ca4f7f1cb277877a43f9b
branch: main
author: sobolevn <[email protected]>
committer: sobolevn <[email protected]>
date: 2026-06-17T15:37:08+03:00
summary:

gh-151584: Remove `PyUnstable_Module_SetGIL` call in `_remote_debugging` 
(#151585)

files:
M Modules/_remote_debugging/module.c

diff --git a/Modules/_remote_debugging/module.c 
b/Modules/_remote_debugging/module.c
index 984213d18817523..36115f20d9d4ccc 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;

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to