]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
issue25931: document that socketserver.Forking* are unavailable on platforms
authorGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>
Fri, 3 Jun 2016 05:44:47 +0000 (05:44 +0000)
committerGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>
Fri, 3 Jun 2016 05:44:47 +0000 (05:44 +0000)
lacking os.fork().

Doc/library/socketserver.rst

index 1b8d7ff8ef3fed70639df6c3b2b68076a42c0119..dac928124fa1724b6bf26c347585df9114320fd6 100644 (file)
@@ -112,6 +112,8 @@ server classes.
    :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
@@ -619,3 +621,5 @@ The output of the example should look something like this::
 
 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`.
+