[Python-checkins] Fix description about SimpleXMLRPCServer constructor parameter bind_and_activate. (GH-776)

Miss Islington (bot) webhook-mailer at python.org
Mon Mar 26 08:20:28 EDT 2018


https://github.com/python/cpython/commit/a413a91949e5472aee518a89a61cc21af4b49e3b
commit: a413a91949e5472aee518a89a61cc21af4b49e3b
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-03-26T05:20:25-07:00
summary:

Fix description about SimpleXMLRPCServer constructor parameter bind_and_activate. (GH-776)


Passing True as the `bind_and_activate` *do* immediately opening and binding to their socket.
(cherry picked from commit e6223579c87b93f3e60d28796f521587d88091d4)

Co-authored-by: cocoatomo <cocoatomo77 at gmail.com>

files:
M Doc/whatsnew/2.6.rst

diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index 45b0ab9f3453..e57efee85bd9 100644
--- a/Doc/whatsnew/2.6.rst
+++ b/Doc/whatsnew/2.6.rst
@@ -2611,7 +2611,7 @@ changes, or look through the Subversion logs for all the details.
 
 * The XML-RPC :class:`SimpleXMLRPCServer` and :class:`DocXMLRPCServer`
   classes can now be prevented from immediately opening and binding to
-  their socket by passing True as the ``bind_and_activate``
+  their socket by passing ``False`` as the *bind_and_activate*
   constructor parameter.  This can be used to modify the instance's
   :attr:`allow_reuse_address` attribute before calling the
   :meth:`server_bind` and :meth:`server_activate` methods to



More information about the Python-checkins mailing list