[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:11:18 EDT 2018
https://github.com/python/cpython/commit/a2665075cc2fb85129afdfd7a7f04dd70a38e582
commit: a2665075cc2fb85129afdfd7a7f04dd70a38e582
branch: 2.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-03-26T05:11:15-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 7c430094d831..f4c742e1d91d 100644
--- a/Doc/whatsnew/2.6.rst
+++ b/Doc/whatsnew/2.6.rst
@@ -2607,7 +2607,7 @@ changes, or look through the Subversion logs for all the details.
* The XML-RPC :class:`~SimpleXMLRPCServer.SimpleXMLRPCServer` and :class:`~DocXMLRPCServer.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