> So, presumably you can implement __getstate__(), and have it return
> self.__dict__ minus the unpickleable variables -- when it's unpickled
> those variables won't be set, so you'll also have to check for that.
> Many other tricks and hacks are also possible using these methods, of
> (I wasn't aware that servlets got pickled, though, just the session...?)
Thanks, this did the trick - I guess it should have occured to me to look at
the Pickle docs rather than Webware, ah well =)
You're right, servlets don't get pickled, I wasn't clear on what I was doing
in my original mail. The servlet is creating these function pointers in
awake(), but it's putting them into an object in the session, which does get
Thanks for your time!