From 14968e64c6425a6d03f783e002a68bb4709cd36f Mon Sep 17 00:00:00 2001 From: Semyon Moroz Date: Sun, 29 Mar 2026 20:45:52 +0400 Subject: [PATCH] [ssl] Deprecate RAND_egd (#15572) --- stdlib/_ssl.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/_ssl.pyi b/stdlib/_ssl.pyi index 73a43f29c..d8cb9d49e 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: ...