On Thu, 2002-10-10 at 02:58, Matthias Opitz wrote:
> Erik gave me an idea with pickling. Isn't that like dumping and recreating
> an object to a file / session? Could that be a solution? Also an independend
> TradingSystem pool would be nice. Has anyone done something like that before?

The session is already pickling your data.  If you're getting a crash,
it's probably because there's something unpickleable in the data --
things like network connections and file handles can't be pickled.  If
you are pickling a class, generally you have to be sure that all its
instance variables are pickleable.  There are ways you can write your
class to be pickleable, though -- the pickle documentation mentions some
of these.

  Ian




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to