summaryrefslogtreecommitdiffstats
path: root/Python/remote_debugging.c
diff options
context:
space:
mode:
authorMatt Wozniski <mwozniski@bloomberg.net>2025-04-23 23:40:24 (GMT)
committerGitHub <noreply@github.com>2025-04-23 23:40:24 (GMT)
commita94c7528b596e9ec234f12ebeeb45fc731412b18 (patch)
tree72e964f2b6b407e5fd23923d1b6ce957669f54a2 /Python/remote_debugging.c
parent402dba29281c1e1092ff32875c91f23bacabb677 (diff)
downloadcpython-a94c7528b596e9ec234f12ebeeb45fc731412b18.zip
cpython-a94c7528b596e9ec234f12ebeeb45fc731412b18.tar.gz
cpython-a94c7528b596e9ec234f12ebeeb45fc731412b18.tar.bz2
gh-132859: Run debugger scripts in their own namespaces (#132860)
Run debugger scripts in their own namespaces Previously scripts injected by `sys.remote_exec` were run with the globals of the `__main__` module. Instead, run each injected script with an empty set of globals. If someone really wants to use the `__main__` module's namespace, they can always `import __main__`.
Diffstat (limited to 'Python/remote_debugging.c')
0 files changed, 0 insertions, 0 deletions