From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 5 Feb 2026 18:46:21 +0000 (+0100) Subject: [3.12] gh-144484: Warn users not to use wsgiref in production X-Git-Tag: v3.12.13~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dc353959be7d365049bdc865f65cb369418c03f4;p=thirdparty%2FPython%2Fcpython.git [3.12] 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 --- diff --git a/Doc/library/wsgiref.rst b/Doc/library/wsgiref.rst index 2964b31496a0..ab5df296cc0d 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