[Python-checkins] cpython (2.7): issue25931: document that socketserver.Forking* are unavailable on platforms

gregory.p.smith python-checkins at python.org
Fri Jun 3 01:48:33 EDT 2016


https://hg.python.org/cpython/rev/a4c0208b10df
changeset:   101637:a4c0208b10df
branch:      2.7
parent:      101627:70ed9af54aab
user:        Gregory P. Smith <greg at krypto.org> [Google Inc.]
date:        Fri Jun 03 05:48:23 2016 +0000
summary:
  issue25931: document that socketserver.Forking* are unavailable on platforms
that support os.fork.

files:
  Doc/library/socketserver.rst |  4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)


diff --git a/Doc/library/socketserver.rst b/Doc/library/socketserver.rst
--- a/Doc/library/socketserver.rst
+++ b/Doc/library/socketserver.rst
@@ -116,6 +116,9 @@
    :class:`UDPServer`.  Setting the various attributes also changes the
    behavior of the underlying server mechanism.
 
+   :class:`ForkingMixIn` and the Forking classes mentioned below are
+   only available on POSIX platforms that support :func:`~os.fork`.
+
 
 .. class:: ForkingTCPServer
            ForkingUDPServer
@@ -612,3 +615,4 @@
 
 The :class:`ForkingMixIn` class is used in the same way, except that the server
 will spawn a new process for each request.
+Available only on POSIX platforms that support :func:`~os.fork`.

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list