From 23e702b4b113cbbb2a5bd3415a707b7760945978 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Thu, 22 May 2025 16:52:33 +0300 Subject: [PATCH] Update `errno` module for 3.14 (#14123) --- stdlib/@tests/stubtest_allowlists/linux-py314.txt | 1 - stdlib/errno.pyi | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/stdlib/@tests/stubtest_allowlists/linux-py314.txt b/stdlib/@tests/stubtest_allowlists/linux-py314.txt index ea6250134..46cfad47a 100644 --- a/stdlib/@tests/stubtest_allowlists/linux-py314.txt +++ b/stdlib/@tests/stubtest_allowlists/linux-py314.txt @@ -10,5 +10,4 @@ asyncio.unix_events._DefaultEventLoopPolicy ctypes.c_double_complex._type_ ctypes.c_float_complex._type_ ctypes.c_longdouble_complex._type_ -errno.EHWPOISON select.EPOLLWAKEUP diff --git a/stdlib/errno.pyi b/stdlib/errno.pyi index 84d2b44a6..3ba8b66d2 100644 --- a/stdlib/errno.pyi +++ b/stdlib/errno.pyi @@ -170,6 +170,9 @@ if sys.platform != "win32" and sys.platform != "darwin": ENOMEDIUM: int ERFKILL: int + if sys.version_info >= (3, 14): + EHWPOISON: int + if sys.platform == "win32": # All of these are undocumented WSABASEERR: int