mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-13 03:21:07 +08:00
[concurrent.futures.interpreter] Update to 3.14.0b4 (#14522)
This commit is contained in:
@@ -2,14 +2,6 @@
|
||||
# TODO: New errors in Python 3.14 that need to be fixed or moved below
|
||||
# ====================================================================
|
||||
|
||||
concurrent.futures.InterpreterPoolExecutor.__init__
|
||||
concurrent.futures.InterpreterPoolExecutor.prepare_context
|
||||
concurrent.futures.interpreter.ExecutionFailed
|
||||
concurrent.futures.interpreter.InterpreterPoolExecutor.__init__
|
||||
concurrent.futures.interpreter.InterpreterPoolExecutor.prepare_context
|
||||
concurrent.futures.interpreter.WorkerContext.__init__
|
||||
concurrent.futures.interpreter.WorkerContext.prepare
|
||||
concurrent.futures.interpreter.do_call
|
||||
multiprocessing.managers.BaseListProxy.clear
|
||||
multiprocessing.managers.BaseListProxy.copy
|
||||
multiprocessing.managers.DictProxy.__ior__
|
||||
|
||||
@@ -47,7 +47,7 @@ if sys.version_info >= (3, 14):
|
||||
with InterpreterPoolExecutor(initializer=_initializer, initargs=("x",)): # type: ignore
|
||||
...
|
||||
|
||||
context = InterpreterPoolExecutor.prepare_context(initializer=_initializer, initargs=(1,), shared={})
|
||||
context = InterpreterPoolExecutor.prepare_context(initializer=_initializer, initargs=(1,))
|
||||
worker_context = context[0]()
|
||||
assert_type(worker_context, concurrent.futures.interpreter.WorkerContext)
|
||||
resolve_task = context[1]
|
||||
|
||||
Reference in New Issue
Block a user