[issue21078] multiprocessing.managers.BaseManager.__init__'s "serializer" argument is not documented
New submission from Yuriy Taraday:
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.
----------
assignee: docs@python
components: Documentation
messages: 214967
nosy: docs@python, yorik.sar
priority: normal
severity: normal
status: open
title: multiprocessing.managers.BaseManager.__init__'s "serializer" argument is not documented
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5
_______________________________________
Python tracker
Brett Cannon added the comment:
Is there any reason it isn't documented, Richard? And are there proper tests?
----------
nosy: +brett.cannon, sbt
_______________________________________
Python tracker
Yuriy Taraday added the comment:
Adding Benjamin Peterson as original author of multiprocessing (according to hg logs)
----------
nosy: +benjamin.peterson
_______________________________________
Python tracker
R. David Murray added the comment:
He wasn't, sbt (with help) was. Benjamin may have checked it in or something.
----------
nosy: +r.david.murray
_______________________________________
Python tracker
Yuriy Taraday added the comment:
Oh, sorry.
----------
nosy: -benjamin.peterson
_______________________________________
Python tracker
Richard Oudkerk added the comment:
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.
----------
_______________________________________
Python tracker
Change by Brett Cannon
Change by Irit Katriel
participants (5)
-
Brett Cannon
-
Irit Katriel
-
R. David Murray
-
Richard Oudkerk
-
Yuriy Taraday