Commit 7904459d authored by Amaury Forgeot d'Arc's avatar Amaury Forgeot d'Arc

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().
parent 458e3d41
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment