gh-132950: Check for Py_SUPPORTS_REMOTE_DEBUG in sys.is_remote_debug_enabled (#132959)
This commit is contained in:
committed by
GitHub
parent
ac5424d6a9
commit
622176513e
@@ -2440,7 +2440,7 @@ static PyObject *
|
||||
sys_is_remote_debug_enabled_impl(PyObject *module)
|
||||
/*[clinic end generated code: output=7ca3d38bdd5935eb input=7335c4a2fe8cf4f3]*/
|
||||
{
|
||||
#ifndef Py_REMOTE_DEBUG
|
||||
#if !defined(Py_REMOTE_DEBUG) || !defined(Py_SUPPORTS_REMOTE_DEBUG)
|
||||
Py_RETURN_FALSE;
|
||||
#else
|
||||
const PyConfig *config = _Py_GetConfig();
|
||||
|
||||
Reference in New Issue
Block a user