From f5f0aa7701113e3fdd6c9c5727db3636c9535d66 Mon Sep 17 00:00:00 2001 From: donbarbos Date: Sun, 29 Mar 2026 20:14:29 +0400 Subject: [PATCH] [ssl] Deprecate RAND_egd Source: https://github.com/python/cpython/pull/25453 --- stdlib/_ssl.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/_ssl.pyi b/stdlib/_ssl.pyi index 73a43f29c8c5..d8cb9d49e782 100644 --- a/stdlib/_ssl.pyi +++ b/stdlib/_ssl.pyi @@ -55,6 +55,7 @@ if sys.version_info < (3, 12): def RAND_pseudo_bytes(n: int, /) -> tuple[bytes, bool]: ... if sys.version_info < (3, 10): + @deprecated("Unsupported by OpenSSL since 1.1.1; removed in Python 3.10.") def RAND_egd(path: str) -> None: ... def RAND_status() -> bool: ...