From 14de48d587d1ba7c45f75ff0d35706b9514c1bf9 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 2964b31496a03c..ab5df296cc0d64 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