From e1a8a0393cd0869b72b6be559a2b145f1ff8c169 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 5 Feb 2026 19:46:25 +0100 Subject: [PATCH] [3.10] gh-144484: Warn users not to use wsgiref in production gh-144484: Warn users not to use wsgiref in production (cherry picked from commit 7e777c587f01434ac5eea3d63d096f191278dad2) Co-authored-by: Seth Michael Larson --- Doc/library/wsgiref.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/library/wsgiref.rst b/Doc/library/wsgiref.rst index 7be4be47f35f..983957cf1b98 100644 --- a/Doc/library/wsgiref.rst +++ b/Doc/library/wsgiref.rst @@ -11,6 +11,11 @@ -------------- +.. warning:: + + :mod:`wsgiref` is a reference implementation and is not recommended for + production. The module only implements basic security checks. + The Web Server Gateway Interface (WSGI) is a standard interface between web server software and web applications written in Python. Having a standard interface makes it easy to use an application that supports WSGI with a number -- 2.47.3