From b71e5e01111d362ef3679a9cb68274638048deea Mon Sep 17 00:00:00 2001 From: Seth Michael Larson Date: Wed, 4 Feb 2026 14:34:16 -0600 Subject: [PATCH] gh-144484: Warn users not to use wsgiref in production --- Doc/library/wsgiref.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/library/wsgiref.rst b/Doc/library/wsgiref.rst index 381c993834753d..157d7058931c16 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