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().
This commit is contained in:
Amaury Forgeot d'Arc 2008-08-20 08:58:40 +00:00
parent 8676534082
commit d757e73f66
1 changed files with 2 additions and 0 deletions

View File

@ -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