[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 <report@bugs.python.org> <http://bugs.python.org/issue21078> _______________________________________
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 <report@bugs.python.org> <http://bugs.python.org/issue21078> _______________________________________
Yuriy Taraday added the comment: Adding Benjamin Peterson as original author of multiprocessing (according to hg logs) ---------- nosy: +benjamin.peterson _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21078> _______________________________________
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 <report@bugs.python.org> <http://bugs.python.org/issue21078> _______________________________________
Yuriy Taraday added the comment: Oh, sorry. ---------- nosy: -benjamin.peterson _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21078> _______________________________________
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 <report@bugs.python.org> <http://bugs.python.org/issue21078> _______________________________________
Change by Brett Cannon <brett@python.org>: ---------- nosy: -brett.cannon _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue21078> _______________________________________
Change by Irit Katriel <iritkatriel@yahoo.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 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue21078> _______________________________________
participants (5)
-
Brett Cannon
-
Irit Katriel
-
R. David Murray
-
Richard Oudkerk
-
Yuriy Taraday