Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 287e687

Browse files
committed
issue25931: document that socketserver.Forking* are unavailable on platforms
lacking os.fork().
1 parent a945969 commit 287e687

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Doc/library/socketserver.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ server classes.
112112
:class:`UDPServer`. Setting the various attributes also changes the
113113
behavior of the underlying server mechanism.
114114

115+
:class:`ForkingMixIn` and the Forking classes mentioned below are
116+
only available on POSIX platforms that support :func:`~os.fork`.
115117

116118
.. class:: ForkingTCPServer
117119
ForkingUDPServer
@@ -619,3 +621,5 @@ The output of the example should look something like this::
619621

620622
The :class:`ForkingMixIn` class is used in the same way, except that the server
621623
will spawn a new process for each request.
624+
Available only on POSIX platforms that support :func:`~os.fork`.
625+

0 commit comments

Comments
 (0)