]> granicus.if.org Git - python/commitdiff
Issue #3518: Remove references to non-existent BaseManager.from_address()
authorRichard Oudkerk <shibturn@gmail.com>
Mon, 11 Jun 2012 16:56:08 +0000 (17:56 +0100)
committerRichard Oudkerk <shibturn@gmail.com>
Mon, 11 Jun 2012 16:56:08 +0000 (17:56 +0100)
method

Doc/library/multiprocessing.rst
Lib/multiprocessing/managers.py
Misc/NEWS

index 43ae086429bca88b6864b5fa03f04ac578650b45..5e56ecb1e37e6314fed8aaf9c5dc14cb82841348 100644 (file)
@@ -1236,9 +1236,10 @@ their parent process exits.  The manager classes are defined in the
       type of shared object.  This must be a string.
 
       *callable* is a callable used for creating objects for this type
-      identifier.  If a manager instance will be created using the
-      :meth:`from_address` classmethod or if the *create_method* argument is
-      ``False`` then this can be left as ``None``.
+      identifier.  If a manager instance will be connected to the
+      server using the :meth:`connect` method, or if the
+      *create_method* argument is ``False`` then this can be left as
+      ``None``.
 
       *proxytype* is a subclass of :class:`BaseProxy` which is used to create
       proxies for shared objects with this *typeid*.  If ``None`` then a proxy
index 6a7dccb00722d5f0575e79386ea976992c37126c..705909540005bec38847bee5d3282284af8a8ea3 100644 (file)
@@ -455,10 +455,6 @@ class BaseManager(object):
         self._serializer = serializer
         self._Listener, self._Client = listener_client[serializer]
 
-    def __reduce__(self):
-        return type(self).from_address, \
-               (self._address, self._authkey, self._serializer)
-
     def get_server(self):
         '''
         Return server object with serve_forever() method and address attribute
index 13a13204d9a5ee8f848615810aa7c1bce558b8e9..4012c96d56cb6abfda7532539ec86bc28870c1d2 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -21,6 +21,9 @@ Core and Builtins
 Library
 -------
 
+- Issue #3518: Remove references to non-existent BaseManager.from_address()
+  method.
+
 - Issue #13857: Added textwrap.indent() function (initial patch by Ezra
   Berch)