Use _interpreters.call(). · python/cpython@b3c2477 · GitHub
Skip to content

Commit b3c2477

Browse files
Use _interpreters.call().
1 parent fe95f3f commit b3c2477

3 files changed

Lines changed: 110 additions & 89 deletions

File tree

Lib/concurrent/futures/interpreter.py

Lines changed: 56 additions & 68 deletions

Lib/test/test_concurrent_futures/test_init.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
def init(x):
2121
global INITIALIZER_STATUS
2222
INITIALIZER_STATUS = x
23+
# InterpreterPoolInitializerTest.test_initializer fails
24+
# if we don't have a LOAD_GLOBAL. (It could be any global.)
25+
# We will address this separately.
26+
INITIALIZER_STATUS
2327

2428
def get_init_status():
2529
return INITIALIZER_STATUS

Lib/test/test_concurrent_futures/test_interpreter_pool.py

Lines changed: 50 additions & 21 deletions

0 commit comments

Comments
 (0)