Add concurrent.interpreters stubs for 3.14.0b3 (#14307)

This commit is contained in:
Brian Schubert
2025-07-21 09:31:29 -04:00
committed by GitHub
parent 217be6680a
commit 723db2f132
6 changed files with 172 additions and 5 deletions
+9 -1
View File
@@ -2,7 +2,6 @@
# TODO: New errors in Python 3.14 that need to be fixed or moved below
# ====================================================================
concurrent.interpreters
concurrent.futures.InterpreterPoolExecutor.__init__
concurrent.futures.InterpreterPoolExecutor.prepare_context
concurrent.futures.interpreter.ExecutionFailed
@@ -38,6 +37,15 @@ types.UnionType.__qualname__
# Assigning `__new__` causes `func` not to get recognized.
functools.partialmethod.__new__
# decorator approximated by classmethod
concurrent.interpreters._crossinterp.classonly.*
# object() sentinels at runtime represented by NewTypes in the stubs
concurrent.interpreters._crossinterp.UNBOUND_ERROR
concurrent.interpreters._crossinterp.UNBOUND_REMOVE
concurrent.interpreters._queues.UNBOUND_ERROR
concurrent.interpreters._queues.UNBOUND_REMOVE
# ====================================
# Pre-existing errors from Python 3.13
# ====================================