]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-144484: Warn users not to use wsgiref in production
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 5 Feb 2026 18:46:21 +0000 (19:46 +0100)
committerGitHub <noreply@github.com>
Thu, 5 Feb 2026 18:46:21 +0000 (18:46 +0000)
gh-144484: Warn users not to use wsgiref in production
(cherry picked from commit 7e777c587f01434ac5eea3d63d096f191278dad2)

Co-authored-by: Seth Michael Larson <seth@python.org>
Doc/library/wsgiref.rst

index 2964b31496a03c9f20f6a519d9c700d25a9fb8b0..ab5df296cc0d64602f30fac0890754b70488d7c3 100644 (file)
 
 --------------
 
+.. 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