diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2025-06-17 13:16:59 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-17 13:16:59 -0600 |
commit | 269e19e0a7efc62ee4ffbd8424974dc6d4fbfd5d (patch) | |
tree | dcec620e1d962eda134c55ad1de0696c697dabef /Lib/test/test_unittest/test_runner.py | |
parent | fba5dded6df3c2b1943557afef89a5cb418f65a2 (diff) | |
download | cpython-269e19e0a7efc62ee4ffbd8424974dc6d4fbfd5d.tar.gz cpython-269e19e0a7efc62ee4ffbd8424974dc6d4fbfd5d.zip |
gh-132775: Fix Interpreter.call() __main__ Visibility (gh-135595)
As noted in the new tests, there are a few situations we must carefully accommodate
for functions that get pickled during interp.call(). We do so by running the script
from the main interpreter's __main__ module in a hidden module in the other
interpreter. That hidden module is used as the function __globals__.
Diffstat (limited to 'Lib/test/test_unittest/test_runner.py')
0 files changed, 0 insertions, 0 deletions