diff options
author | Richard Oudkerk <shibturn@gmail.com> | 2012-06-11 16:56:08 (GMT) |
---|---|---|
committer | Richard Oudkerk <shibturn@gmail.com> | 2012-06-11 16:56:08 (GMT) |
commit | f0604fddc3b9a775f22d19d7d7fe50c4aa1ecf7d (patch) | |
tree | 3a5d1f001f19e5948cb8003c5f9a063dc8a96b84 | |
parent | 839a482a1159767aa34ce947b7e3429396c2325e (diff) | |
download | cpython-f0604fddc3b9a775f22d19d7d7fe50c4aa1ecf7d.zip cpython-f0604fddc3b9a775f22d19d7d7fe50c4aa1ecf7d.tar.gz cpython-f0604fddc3b9a775f22d19d7d7fe50c4aa1ecf7d.tar.bz2 |
Issue #3518: Remove references to non-existent BaseManager.from_address()
method
-rw-r--r-- | Doc/library/multiprocessing.rst | 7 | ||||
-rw-r--r-- | Lib/multiprocessing/managers.py | 4 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
3 files changed, 7 insertions, 7 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 43ae086..5e56ecb 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -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 diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py index 6a7dccb..7059095 100644 --- a/Lib/multiprocessing/managers.py +++ b/Lib/multiprocessing/managers.py @@ -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 @@ -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) |