aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/optimizer_bytecodes.c
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2025-06-17 13:16:59 -0600
committerGitHub <noreply@github.com>2025-06-17 13:16:59 -0600
commit269e19e0a7efc62ee4ffbd8424974dc6d4fbfd5d (patch)
treedcec620e1d962eda134c55ad1de0696c697dabef /Python/optimizer_bytecodes.c
parentfba5dded6df3c2b1943557afef89a5cb418f65a2 (diff)
downloadcpython-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 'Python/optimizer_bytecodes.c')
0 files changed, 0 insertions, 0 deletions