From 02a9e99a5f9fdd7b361b18218b15331babd05fcd Mon Sep 17 00:00:00 2001 From: donbarbos Date: Fri, 21 Aug 2026 14:18:09 +0400 Subject: [PATCH] [threading] Ignore Condition.locked in Python 3.15 --- stdlib/@tests/stubtest_allowlists/py315.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stdlib/@tests/stubtest_allowlists/py315.txt b/stdlib/@tests/stubtest_allowlists/py315.txt index ca45028b5386..1e4cf239e126 100644 --- a/stdlib/@tests/stubtest_allowlists/py315.txt +++ b/stdlib/@tests/stubtest_allowlists/py315.txt @@ -24,7 +24,6 @@ importlib._bootstrap_external.NamespacePath importlib.resources._common.package_to_anchor mailbox._ProxyFile.__class_getitem__ multiprocessing.process.BaseProcess.__init__ -threading.Condition.locked # ============================================================= # Allowlist entries that cannot or should not be fixed; >= 3.15 @@ -87,6 +86,9 @@ concurrent.interpreters._crossinterp.UnboundItem.singleton concurrent.interpreters._crossinterp.UNBOUND_ERROR concurrent.interpreters._crossinterp.UNBOUND_REMOVE +# Condition functions are exported in __init__ +threading.Condition.locked + # Assigning `__new__` causes `func` not to get recognized. functools.partialmethod.__new__