Skip to content

Commit 23e702b

Browse files
authored
Update errno module for 3.14 (#14123)
1 parent 341fab4 commit 23e702b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

stdlib/@tests/stubtest_allowlists/linux-py314.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ asyncio.unix_events._DefaultEventLoopPolicy
1010
ctypes.c_double_complex._type_
1111
ctypes.c_float_complex._type_
1212
ctypes.c_longdouble_complex._type_
13-
errno.EHWPOISON
1413
select.EPOLLWAKEUP

stdlib/errno.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ if sys.platform != "win32" and sys.platform != "darwin":
170170
ENOMEDIUM: int
171171
ERFKILL: int
172172

173+
if sys.version_info >= (3, 14):
174+
EHWPOISON: int
175+
173176
if sys.platform == "win32":
174177
# All of these are undocumented
175178
WSABASEERR: int

0 commit comments

Comments
 (0)