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
Brett Cannon added the comment:
Is there any reason it isn't documented, Richard? And are there proper tests?
---------- nosy: +brett.cannon, sbt
Yuriy Taraday added the comment:
Adding Benjamin Peterson as original author of multiprocessing (according to hg logs)
---------- nosy: +benjamin.peterson
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
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.
Change by Brett Cannon firstname.lastname@example.org:
---------- nosy: -brett.cannon
Change by Irit Katriel email@example.com:
---------- components: +Library (Lib) type: -> behavior versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5