From 731090c062a688d8531a6bd0a5e68cc9bd8a744c Mon Sep 17 00:00:00 2001 From: Semyon Moroz Date: Mon, 4 Aug 2025 10:43:55 +0000 Subject: [PATCH] [nt] Add `readinto` (#14516) --- stdlib/@tests/stubtest_allowlists/win32-py314.txt | 1 - stdlib/nt.pyi | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/stdlib/@tests/stubtest_allowlists/win32-py314.txt b/stdlib/@tests/stubtest_allowlists/win32-py314.txt index 314d5a6c6..c3542e513 100644 --- a/stdlib/@tests/stubtest_allowlists/win32-py314.txt +++ b/stdlib/@tests/stubtest_allowlists/win32-py314.txt @@ -4,7 +4,6 @@ _winapi.COPY_FILE_DIRECTORY compression.zlib.ZLIBNG_VERSION -nt.readinto pathlib.Path.group pathlib.Path.owner zlib.ZLIBNG_VERSION diff --git a/stdlib/nt.pyi b/stdlib/nt.pyi index 3ed8f8af3..0c87444d1 100644 --- a/stdlib/nt.pyi +++ b/stdlib/nt.pyi @@ -110,4 +110,7 @@ if sys.platform == "win32": if sys.version_info >= (3, 13): from os import fchmod as fchmod, lchmod as lchmod + if sys.version_info >= (3, 14): + from os import readinto as readinto + environ: dict[str, str]