cpython: a4c0208b10df (original) (raw)
Mercurial > cpython
changeset 101637:a4c0208b10df 2.7
issue25931: document that socketserver.Forking* are unavailable on platforms that support os.fork. [#25931]
Gregory P. Smith greg@krypto.org [Google Inc.] | |
---|---|
date | Fri, 03 Jun 2016 05:48:23 +0000 |
parents | 70ed9af54aab |
children | 27f5eb630499 8218b1309178 |
files | Doc/library/socketserver.rst |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-)[+] [-] Doc/library/socketserver.rst 4 |
line wrap: on
line diff
--- a/Doc/library/socketserver.rst
+++ b/Doc/library/socketserver.rst
@@ -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 so
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
.