mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
gh-76785: Expand How Interpreter Channels Handle Interpreter Finalization (gh-121805)
See 6b98b274b6
for an explanation of the problem and solution. Here I've applied the solution to channels.
This commit is contained in:
parent
fd085a411e
commit
8b209fd4f8
9 changed files with 898 additions and 306 deletions
|
@ -8,11 +8,11 @@ from test.support import import_helper, Py_DEBUG
|
|||
# Raise SkipTest if subinterpreters not supported.
|
||||
_queues = import_helper.import_module('_interpqueues')
|
||||
from test.support import interpreters
|
||||
from test.support.interpreters import queues
|
||||
from test.support.interpreters import queues, _crossinterp
|
||||
from .utils import _run_output, TestBase as _TestBase
|
||||
|
||||
|
||||
REPLACE = queues._UNBOUND_CONSTANT_TO_FLAG[queues.UNBOUND]
|
||||
REPLACE = _crossinterp._UNBOUND_CONSTANT_TO_FLAG[_crossinterp.UNBOUND]
|
||||
|
||||
|
||||
def get_num_queues():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue