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__`.
M
Matt Wozniski committed
a94c7528b596e9ec234f12ebeeb45fc731412b18
Parent: 402dba2
Committed by GitHub <[email protected]>
on 4/23/2025, 11:40:24 PM