Geoff Talvola <[EMAIL PROTECTED]> wrote:
> The session code internally uses pickle, so I'm not sure why it doesn't 
> work.  I'd love to look into the problem but I don't have time right now.

Probably when you pickle and unpickle on your own, you are doing so
somewhere where you have access to the class definitions in a way that
Session doesn't.

Hmm... after looking at pickle, it seems like it saves the module and
class name for instances.  That should work, assuming
.__class.__module__ and .__class__.__name__ are an accurate way of
retrieving the object.  Which, with all the sys.path manipulation
might not be true, perhaps.

I dunno, just a few ideas.  There are some methods you can add to a
class to control how it is pickled as well.  Maybe those could help.

  Ian

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to