[Python-checkins] Simplify the warning for http.server. (#10116)

Senthil Kumaran webhook-mailer at python.org
Fri Oct 26 09:43:40 EDT 2018


https://github.com/python/cpython/commit/25a525bf5a9c630a992d2048d863841481004465
commit: 25a525bf5a9c630a992d2048d863841481004465
branch: master
author: Senthil Kumaran <skumaran at gatech.edu>
committer: GitHub <noreply at github.com>
date: 2018-10-26T06:43:37-07:00
summary:

Simplify the warning for http.server. (#10116)

files:
M Doc/library/http.server.rst

diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst
index 45bb529f8c07..29f6e7da3bde 100644
--- a/Doc/library/http.server.rst
+++ b/Doc/library/http.server.rst
@@ -19,10 +19,8 @@ This module defines classes for implementing HTTP servers (Web servers).
 
 .. warning::
 
-    :mod:`http.server` is meant for demo purposes and does not implement the
-    stringent security checks needed of a real HTTP server. We do not recommend
-    using this module directly in production.
-
+    :mod:`http.server` is not recommended for production. It only implements
+    basic security checks.
 
 One class, :class:`HTTPServer`, is a :class:`socketserver.TCPServer` subclass.
 It creates and listens at the HTTP socket, dispatching the requests to a



More information about the Python-checkins mailing list