Skip to content

Commit

Permalink
more docs on serialization config
Browse files Browse the repository at this point in the history
  • Loading branch information
irmen committed Aug 27, 2013
1 parent aa4fe9a commit 3a590e7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/source/clientcode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ Upgrading older code that relies on pickle

What do you have to do with code that relies on pickle, and worked fine in older Pyro versions, but now crashes?

You have three options:

#. Redesign remote interfaces
#. Configure Pyro to eable the use of pickle again
#. Stick to Pyro 4.18 (less preferable)

You can redesign the remote interface to only include types that can be serialized (python's built-in types and
exception classes, and a few Pyro specific classes such as URIs). That way you benefit from the new security that
the alternative serializers provide. If you can't do this, you have to tell Pyro to enable pickle again.
Expand Down

0 comments on commit 3a590e7

Please sign in to comment.