From: Amaury Forgeot d'Arc Date: Wed, 20 Aug 2008 08:58:40 +0000 (+0000) Subject: Partially revert r65883 to let the tests pass. X-Git-Tag: v3.0b3~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d757e73f660fcd930ad7602ab7c65de0a926c955;p=python Partially revert r65883 to let the tests pass. I am working on the proper fix, which is to use the custom pickler in connection.send(), instead of the standard pickle.dumps(). --- diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py index d1522c2b8e..f895d625fd 100644 --- a/Lib/multiprocessing/managers.py +++ b/Lib/multiprocessing/managers.py @@ -45,6 +45,8 @@ if view_types[0] is not list: # only needed in Py3.0 return list, (list(obj),) for view_type in view_types: ForkingPickler.register(view_type, rebuild_as_list) + import copyreg + copyreg.pickle(view_type, rebuild_as_list) # # Type for identifying shared objects