Commits

Amaury Forgeot d'Arc committed 51f2f8f

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().

Comments (0)

Files changed (1)

Lib/multiprocessing/managers.py

         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