]> granicus.if.org Git - python/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:48:23 +0000 (05:48 +0000)
committerGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>
Fri, 3 Jun 2016 05:48:23 +0000 (05:48 +0000)
that support os.fork.

Doc/library/socketserver.rst

index af2e25385c63aced757db21c05161bb5f6f373b9..a7c3e3e96973f0d897467e4321229aa2d7e0ec31 100644 (file)
@@ -116,6 +116,9 @@ 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
@@ -612,3 +615,4 @@ 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`.