cpython/Lib/test/test_interpreters
Miss Islington (bot) 2c29ee835a
[3.14] gh-132775: Fix Interpreter.call() __main__ Visibility (gh-135638)
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__.

(cherry picked from commit 269e19e0a7, AKA gh-135595)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
2025-06-17 20:24:08 +00:00
..
__init__.py gh-117953: Skip test_interpreters properly without GIL (#120689) 2024-06-18 15:22:24 +00:00
__main__.py Fix trivial typo in test_interpreters (GH-113381) 2023-12-23 14:10:41 +00:00
test_api.py [3.14] gh-132775: Fix Interpreter.call() __main__ Visibility (gh-135638) 2025-06-17 20:24:08 +00:00
test_channels.py [3.14] gh-134939: Add the concurrent.interpreters Module (gh-135414) 2025-06-12 08:19:26 -06:00
test_lifecycle.py [3.14] gh-134939: Add the concurrent.interpreters Module (gh-135414) 2025-06-12 08:19:26 -06:00
test_queues.py [3.14] gh-134939: Add the concurrent.interpreters Module (gh-135414) 2025-06-12 08:19:26 -06:00
test_stress.py [3.14] gh-134939: Add the concurrent.interpreters Module (gh-135414) 2025-06-12 08:19:26 -06:00
utils.py [3.14] gh-134939: Add the concurrent.interpreters Module (gh-135414) 2025-06-12 08:19:26 -06:00