mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
gh-132950: Check for Py_SUPPORTS_REMOTE_DEBUG in sys.is_remote_debug_enabled (#132959)
This commit is contained in:
parent
ac5424d6a9
commit
622176513e
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue