From 24068673aa3c5a84cd5980639902971e9fb03e86 Mon Sep 17 00:00:00 2001 From: Daniel Shafer Date: Thu, 15 Oct 2026 14:33:57 +0000 Subject: [PATCH] Add errors parameter to subprocess.call and check_call Co-Authored-By: Claude Opus 5.5 --- stdlib/subprocess.pyi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stdlib/subprocess.pyi b/stdlib/subprocess.pyi index bac7d6978f68..2f889d4ffc9b 100644 --- a/stdlib/subprocess.pyi +++ b/stdlib/subprocess.pyi @@ -518,6 +518,7 @@ if sys.version_info >= (3, 11): pass_fds: Collection[int] = (), *, encoding: str | None = None, + errors: str | None = None, timeout: float | None = None, text: bool | None = None, user: str | int | None = None, @@ -550,6 +551,7 @@ else: pass_fds: Collection[int] = (), *, encoding: str | None = None, + errors: str | None = None, timeout: float | None = None, text: bool | None = None, user: str | int | None = None, @@ -583,6 +585,7 @@ if sys.version_info >= (3, 11): timeout: float | None = None, *, encoding: str | None = None, + errors: str | None = None, text: bool | None = None, user: str | int | None = None, group: str | int | None = None, @@ -615,6 +618,7 @@ else: timeout: float | None = None, *, encoding: str | None = None, + errors: str | None = None, text: bool | None = None, user: str | int | None = None, group: str | int | None = None,