classification
Title: multiprocessing.managers.BaseManager.__init__'s "serializer" argument is not documented
Type: behavior Stage:
Components: Documentation, Library (Lib) Versions: Python 3.10, Python 3.9, Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, r.david.murray, sbt, yorik.sar
Priority: normal Keywords:

Created on 2014-03-27 16:49 by yorik.sar, last changed 2020-10-30 23:41 by iritkatriel.

Messages (6)
msg214967 - (view) Author: Yuriy Taraday (yorik.sar) Date: 2014-03-27 16:49
We're going to use BaseManager for simple secure local RPC and for the "secure" part we can't use pickle, so we have to use "serializer" argument to switch to xmlrpclib.

We need to be sure that argument won't go away so we need it to be documented and supported on future versions.
msg214968 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2014-03-27 16:57
Is there any reason it isn't documented, Richard? And are there proper tests?
msg215132 - (view) Author: Yuriy Taraday (yorik.sar) Date: 2014-03-29 16:35
Adding Benjamin Peterson as original author of multiprocessing (according to hg logs)
msg215133 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2014-03-29 16:49
He wasn't, sbt (with help) was.  Benjamin may have checked it in or something.
msg215134 - (view) Author: Yuriy Taraday (yorik.sar) Date: 2014-03-29 16:52
Oh, sorry.
msg215140 - (view) Author: Richard Oudkerk (sbt) * (Python committer) Date: 2014-03-29 20:30
No, the argument will not go away now.

However, I don't much like the API which is perhaps why I did not get round to documenting it.

It does have tests.  Currently 'xmlrpclib' is the only supported alternative, but JSON support could be added quite easily.
History
Date User Action Args
2020-10-30 23:41:57iritkatrielsettype: behavior
components: + Library (Lib)
versions: + Python 3.8, Python 3.9, Python 3.10, - Python 3.1, Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5
2020-03-18 18:41:47brett.cannonsetnosy: - brett.cannon
2014-03-29 20:30:33sbtsetmessages: + msg215140
2014-03-29 16:52:20yorik.sarsetnosy: - benjamin.peterson
messages: + msg215134
2014-03-29 16:49:23r.david.murraysetnosy: + r.david.murray
messages: + msg215133
2014-03-29 16:35:04yorik.sarsetnosy: + benjamin.peterson
messages: + msg215132
2014-03-27 16:57:48brett.cannonsetnosy: + brett.cannon, sbt
messages: + msg214968
2014-03-27 16:49:51yorik.sarcreate