Browse Source

issue25931: document that socketserver.Forking* are unavailable on platforms

lacking os.fork().
pull/9921/head
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) 10 years ago
parent
commit
287e687648
  1. 4
      Doc/library/socketserver.rst

4
Doc/library/socketserver.rst

@ -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`.
Loading…
Cancel
Save