gh-132950: Log is_remote_debug_enabled() in pythoninfo (#132965)

Log also the Py_REMOTE_DEBUG macro.
This commit is contained in:
Victor Stinner 2025-04-25 20:13:47 +02:00 committed by GitHub
parent a5e628beb8
commit f0485de43a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -146,6 +146,8 @@ def collect_sys(info_add):
text = 'No (sys.getobjects() missing)'
info_add('build.Py_TRACE_REFS', text)
info_add('sys.is_remote_debug_enabled', sys.is_remote_debug_enabled())
def collect_platform(info_add):
import platform
@ -528,6 +530,7 @@ def collect_sysconfig(info_add):
'Py_DEBUG',
'Py_ENABLE_SHARED',
'Py_GIL_DISABLED',
'Py_REMOTE_DEBUG',
'SHELL',
'SOABI',
'TEST_MODULES',