diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-08-20 08:58:40 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-08-20 08:58:40 (GMT) |
commit | d757e73f660fcd930ad7602ab7c65de0a926c955 (patch) | |
tree | a8a84e3bddb4bb89250d7634da0cdbcb55d8a7ee /Lib/multiprocessing | |
parent | 86765340825b609a47601f8b0d121f370736bb62 (diff) | |
download | cpython-d757e73f660fcd930ad7602ab7c65de0a926c955.zip cpython-d757e73f660fcd930ad7602ab7c65de0a926c955.tar.gz cpython-d757e73f660fcd930ad7602ab7c65de0a926c955.tar.bz2 |
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().
Diffstat (limited to 'Lib/multiprocessing')
-rw-r--r-- | Lib/multiprocessing/managers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py index d1522c2..f895d62 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 |