From 04b387aa3206de09b8bf9e6cf7157ea82cea3948 Mon Sep 17 00:00:00 2001 From: Seth Michael Larson Date: Thu, 5 Feb 2026 09:43:39 -0600 Subject: [PATCH] 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 c2b0ba7046967e..e4b18c70ef9203 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